Package: libjs-mathjax Version: 2.7.0-1 Severity: normal Dear Maintainer,
If I download this package: https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_1.2.3-21.tar.gz then edit doc/xcasen.html like this: --- a/doc/xcasen.html +++ b/doc/xcasen.html @@ -167,7 +167,7 @@ (function () { var script = document.createElement("script"); script.type = "text/javascript"; - script.src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; + script.src = "file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; document.getElementsByTagName("head")[0].appendChild(script); })(); } then (without building the package) run: $ chromium doc/xcasen.html then press ctrl-shift-J then select the "Network" tab then press F5, I can see that MathJax.js and all other scripts are loaded from a file:/// address, except for: https://cdn.mathjax.org/mathjax/contrib/a11y/accessibility-menu.js?V=2.7.0 It would be good if this did not happen, or at least it should not happen *automatically* with no user-visible warning or opportunity to disable this remote loading. I am not sure what is causing it, but: $ grep -Ri cdn.mathjax.org /usr/share/javascript/mathjax/ /usr/share/javascript/mathjax/MathJax.js:[.. long minified javascript line ..]b.Contrib="https://cdn.mathjax.org/mathjax/contrib";a.Ajax={loaded:{}[..]replace(/^(https?:\/\/cdn.mathjax.org\/mathjax\/)(latest)/,"$1"+h.version.split[..] /usr/share/javascript/mathjax/unpacked/MathJax.js: PATH.Contrib = "https://cdn.mathjax.org/mathjax/contrib"; // the third-party extensions /usr/share/javascript/mathjax/unpacked/MathJax.js: .replace(/^(https?:\/\/cdn.mathjax.org\/mathjax\/)(latest)/,"$1"+BASE.version.split(/\./).slice(0,2).join(".")+"-$2"); X -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (300, 'unstable'), (200, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libjs-mathjax depends on: ii fonts-mathjax 2.7.0-1 libjs-mathjax recommends no packages. Versions of packages libjs-mathjax suggests: pn fonts-mathjax-extras <none> pn fonts-stix <none> pn libjs-mathjax-doc <none> -- no debconf information