tags 922396 + patch thanks Hello, this is a central package, so I had a look at it. Unfortunately, README.source is outdated, the following recipe works:
* apt-get source * cd mozilla-noscript-10.1.9.6 * uscan * create appropriate directory, cd into it and tar xJvf ../mozilla-noscript_….orig.tar.xz * copy over debian directory from 10.1.9.6 * export QUILT_PATCHES=debian/patches * quilt new 0002b-remove-websites-from-default-white-list.patch * quilt edit common/Policy.js * quilt refresh * comment out 0002 (original) patch in debian/patches/series * dch -i und Changelog-Eintrag vorgenommen (Note: version number) * debuild for version 11.0.34 the (new/updated) patch is as follows: Author: Ximin Luo <infini...@debian.org>, Helge Kreutzmann <deb...@helgefjell.de> Description: remove websites from default white list Original patch by From: arno <arenev...@fdn.fr> Date: Tue, 25 Aug 2009 23:32:30 +0200 Subject: remove websites from default white list Index: mozilla-noscript-11.0.34/common/Policy.js =================================================================== --- mozilla-noscript-11.0.34.orig/common/Policy.js +++ mozilla-noscript-11.0.34/common/Policy.js @@ -294,21 +294,7 @@ var {Permissions, Policy, Sites} = (() = function defaultOptions() { return { sites:{ - trusted: `addons.mozilla.org - afx.ms ajax.aspnetcdn.com - ajax.googleapis.com bootstrapcdn.com - code.jquery.com firstdata.com firstdata.lv gfx.ms - google.com googlevideo.com gstatic.com - hotmail.com live.com live.net - maps.googleapis.com mozilla.net - netflix.com nflxext.com nflximg.com nflxvideo.net - noscript.net - outlook.com passport.com passport.net passportimages.com - paypal.com paypalobjects.com - securecode.com securesuite.net sfx.ms tinymce.cachefly.net - wlxrs.com - yahoo.com yahooapis.com - yimg.com youtube.com ytimg.com`.split(/\s+/).map(Sites.secureDomainKey), + trusted: ``.split(/\s+/).map(Sites.secureDomainKey), untrusted: [], custom: {}, }, Now I have to check if this updated version works … Btw., version 10.1.9.6. still seems to work in firefox 68.10.0esr-1. Greetings Helge P.S. If someone takes over mozilla-noscript, README.source should be updated as well -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: PGP signature