From 5a47c95b2c0846d96be0a0f0f3d00ba5d04ab70c Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 16 Dec 2015 10:54:14 -0500 Subject: [PATCH] tidying redirection resources --- assets/checksums.txt | 2 +- assets/ublock/redirect-resources.txt | 56 +++++++++++++++------------- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index 367d8b214..236a4fcef 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -1,5 +1,5 @@ 9e647d2878ccdca91e933b32083bfe19 assets/ublock/unbreak.txt -d43871c7fe82b0ecd98bd688e3926c8c assets/ublock/redirect-resources.txt +eca020cddb2620d4bb8c44f483123a69 assets/ublock/redirect-resources.txt 6c077d6d5b39e8a5a407966ad62c9c32 assets/ublock/privacy.txt 49ec1206e3bb428cfb800beeb5bb9e16 assets/ublock/filters.txt 146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt diff --git a/assets/ublock/redirect-resources.txt b/assets/ublock/redirect-resources.txt index c87649bd7..c8c9d5c05 100644 --- a/assets/ublock/redirect-resources.txt +++ b/assets/ublock/redirect-resources.txt @@ -9,6 +9,37 @@ # encoding will be set to `;base64`. +# http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever +1x1-transparent.gif image/gif;base64 +R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== + + +2x2-transparent.png image/png;base64 +iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAC0lEQVQI12NgQAcAABIAAe+JVKQAAAAASUVORK5CYII= + + +# Obsolete: to be removed -- need to stick to sensible resource names +handtinytrans.gif image/gif;base64 +R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== + + +noopcss text/css + + +noopjs application/javascript +function() { + ; +})(); + + +noopframe text/html + + + + + + + hd-main.js application/javascript var L = (function(){ var l = {}; @@ -23,15 +54,6 @@ var L = (function(){ })(); -# http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever -handtinytrans.gif image/gif;base64 -R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== - - -2x2-transparent.png image/png;base64 -iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAC0lEQVQI12NgQAcAABIAAe+JVKQAAAAASUVORK5CYII= - - fuckadblock.js-3.2.0 application/javascript (function() { var noopfn = function() { @@ -39,14 +61,6 @@ fuckadblock.js-3.2.0 application/javascript }; // var Fab = function() {}; - Fab.prototype._bait = null; - Fab.prototype._checkBait = noopfn; - Fab.prototype._creatBait = noopfn; - Fab.prototype._destroyBait = noopfn; - Fab.prototype._log = noopfn; - Fab.prototype._options = null; - Fab.prototype._stopLoop = noopfn; - Fab.prototype._var = null; Fab.prototype.check = noopfn; Fab.prototype.clearEvent = noopfn; Fab.prototype.emitEvent = noopfn; @@ -80,14 +94,6 @@ antiAdBlock.js application/javascript })(); -noopframe text/html - - - - - - - # To neutralize GA scripts. The goal is to provide the minimal API # expected by clients of these scripts so that the end users are able # to wholly block GA while minimizing risks of page breakage.