1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 01:29:39 +02:00

this unbreaks video playback for www.tv2.no

This commit is contained in:
gorhill 2015-12-06 10:37:52 -05:00
parent 334506e1b9
commit 366fb08a17
3 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,5 @@
363904dff57e330919eada2e0e793a79 assets/ublock/unbreak.txt
c91286a3e6dc3136bc6e078d5c0db4d0 assets/ublock/redirect-resources.txt
9e647d2878ccdca91e933b32083bfe19 assets/ublock/unbreak.txt
f1a6a004169c8a1a090ba2591f20cb5b assets/ublock/redirect-resources.txt
6c077d6d5b39e8a5a407966ad62c9c32 assets/ublock/privacy.txt
ccbd90cec2231b6c5edf545b63d462ff assets/ublock/filters.txt
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt

View File

@ -84,10 +84,18 @@ www.google-analytics.com/ga.js application/javascript
;
};
//
var gaq = function() {
var Gaq = function() {
;
};
gaq.push = function(a) {
Gaq.prototype.Na = noopfn;
Gaq.prototype.O = noopfn;
Gaq.prototype.Sa = noopfn;
Gaq.prototype.Ta = noopfn;
Gaq.prototype.Va = noopfn;
Gaq.prototype._createAsyncTracker = noopfn;
Gaq.prototype._getAsyncTracker = noopfn;
Gaq.prototype._getPlugin = noopfn;
Gaq.prototype.push = function(a) {
if ( typeof a === 'function' ) {
a();
}
@ -100,6 +108,7 @@ www.google-analytics.com/ga.js application/javascript
gat._getTrackerByName = function() { return tracker; };
window._gat = gat;
//
var gaq = new Gaq();
(function() {
var aa = window._gaq || [];
if ( Array.isArray(aa) ) {

View File

@ -12,6 +12,9 @@
@@||google-analytics.com/analytics.js$script,domain=www.vd.nl
@@||google-analytics.com/plugins/ua/ec.js$script,domain=www.vd.nl
# https://github.com/gorhill/uBlock/issues/1020
@@||www.google-analytics.com/ga.js$script,domain=www.tv2.no
# https://github.com/gorhill/uBlock/issues/939
@@||google-analytics.com/urchin.js$script,domain=live.euroleague.net