1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Remove obsolete web accessible resources

This commit is contained in:
Raymond Hill 2023-12-08 12:06:34 -05:00
parent b35d17143b
commit 310bfec6a1
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
5 changed files with 0 additions and 173 deletions

View File

@ -48,9 +48,6 @@ export default new Map([
alias: '32x32-transparent.png',
data: 'blob',
} ],
[ 'addthis_widget.js', {
alias: 'addthis.com/addthis_widget.js',
} ],
[ 'amazon_ads.js', {
alias: 'amazon-adsystem.com/aax2/amzn_ads.js',
data: 'text',
@ -116,14 +113,6 @@ export default new Map([
} ],
[ 'hd-main.js', {
} ],
[ 'ligatus_angular-tag.js', {
alias: 'ligatus.com/*/angular-tag.js',
} ],
[ 'mxpnl_mixpanel.js', {
} ],
[ 'monkeybroker.js', {
alias: 'd3pkae9owd2lcf.cloudfront.net/mb105.js',
} ],
[ 'nobab.js', {
alias: [ 'bab-defuser.js', 'prevent-bab.js' ],
data: 'text',

View File

@ -1,39 +0,0 @@
/*******************************************************************************
uBlock Origin - a browser extension to block requests.
Copyright (C) 2019-present Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
Home: https://github.com/gorhill/uBlock
*/
(function() {
'use strict';
const noopfn = function() {
};
window.addthis = {
addEventListener: noopfn,
button: noopfn,
counter: noopfn,
init: noopfn,
layers: noopfn,
ready: noopfn,
sharecounters: {
getShareCounts: noopfn
},
toolbox: noopfn,
update: noopfn
};
})();

View File

@ -1,29 +0,0 @@
/*******************************************************************************
uBlock Origin - a browser extension to block requests.
Copyright (C) 2019-present Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
Home: https://github.com/gorhill/uBlock
*/
(function() {
'use strict';
self.adProtect = true;
Object.defineProperties(window, {
uabpdl: { value: true },
uabDetect: { value: true }
});
})();

View File

@ -1,43 +0,0 @@
/*******************************************************************************
uBlock Origin - a browser extension to block requests.
Copyright (C) 2019-present Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
Home: https://github.com/gorhill/uBlock
*/
(function() {
'use strict';
const noopfn = function() {
};
window.pbjs = { libLoaded: true };
const mb = window.MonkeyBroker || {
addAttribute: noopfn,
addSlot: function(a) {
this.slots[a.slot] = {};
},
defineSlot: noopfn,
fillSlot: noopfn,
go: noopfn,
inventoryConditionalPlacement: noopfn,
registerSizeCallback: noopfn,
registerSlotCallback: noopfn,
slots: {},
version: ''
};
mb.regSlotsMap = mb.slots;
window.MonkeyBroker = mb;
})();

View File

@ -1,51 +0,0 @@
/*******************************************************************************
uBlock Origin - a browser extension to block requests.
Copyright (C) 2021-present Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
Home: https://github.com/gorhill/uBlock
*/
(function() {
'use strict';
// https://developer.mixpanel.com/docs/javascript-full-api-reference
const mixpanel = {
get_distinct_id() {
return '';
},
init(t, cfg) {
if ( cfg instanceof Object === false ) { return; }
if ( 'loaded' in cfg === false ) { return; }
if ( cfg.loaded instanceof Function === false ) { return; }
cfg.loaded();
},
register() {
},
register_once() {
},
track() {
const cb = Array.from(arguments).pop();
if ( cb instanceof Function === false ) { return; }
cb();
},
};
const q = self.mixpanel && self.mixpanel._i || [];
self.mixpanel = mixpanel;
for ( const i of q ) {
if ( Array.isArray(i) === false ) { continue; }
mixpanel.init(...i);
}
})();