diff --git a/docs/plugins/privacy.md b/docs/plugins/privacy.md index 842f928242e..31966be21f9 100644 --- a/docs/plugins/privacy.md +++ b/docs/plugins/privacy.md @@ -475,12 +475,12 @@ Dynamically created URLs as part of scripts are not detected, and thus cannot be downloaded automatically, as the plugin does not execute scripts – it only detects fully qualified URLs for downloading and replacement. In short, don't do this: ``` js -const cdn = "https://polyfill.io" -const url = `${cdn}/v3/polyfill.min.js` +const host = "https://example.com" +const path = `${host}/script.js` ``` Instead, always use fully qualified URLs: ``` js -const url ="https://polyfill.io/v3/polyfill.min.js" +const url ="https://example.com/script.js" ``` diff --git a/docs/reference/math.md b/docs/reference/math.md index 7da9873ad7e..bb832d736a1 100644 --- a/docs/reference/math.md +++ b/docs/reference/math.md @@ -64,7 +64,6 @@ to your `mkdocs.yml`. extra_javascript: - javascripts/mathjax.js - - https://polyfill.io/v3/polyfill.min.js?features=es6 - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js ``` @@ -75,7 +74,6 @@ See additional configuration options: [Arithmatex]: ../setup/extensions/python-markdown-extensions.md#arithmatex [instant loading]: ../setup/setting-up-navigation.md#instant-loading -