mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-17 10:30:21 +08:00
62 lines
355 KiB
JavaScript
62 lines
355 KiB
JavaScript
![]() |
/*******************************************************************************
|
||
|
|
||
|
uBlock Origin Lite - a comprehensive, MV3-compliant content blocker
|
||
|
Copyright (C) 2014-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
|
||
|
*/
|
||
|
|
||
|
/* jshint esversion:11 */
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
/******************************************************************************/
|
||
|
|
||
|
// Important!
|
||
|
// Isolate from global scope
|
||
|
(function uBOL_cssGenericImport() {
|
||
|
|
||
|
/******************************************************************************/
|
||
|
|
||
|
// default
|
||
|
|
||
|
const toImport = [[7295477,".aff-content-col"],[10243358,".aff-inner-col"],[10402808,".aff-item-list"],[7616567,".ark-ad-message"],[14318865,".inplayer-ad"],[9294113,".inplayer_banners"],[8108253,".in_stream_banner"],[230977,".trafficjunky-float-right"],[4534627,".preroll-blocker"],[15224443,".happy-inside-player"],[16189421,".blocker-notice"],[5620010,".blocker-overlay"],[7268325,".exo-horizontal"],[4013867,".ave-pl"],[12526183,".bottom-hor-block"],[3260336,".brs-block"],[2117656,".advboxemb"],[14823489,".ads_container:not(.text-ad)"],[10792863,".wgAdBlockMessage"],[10015626,".glx-watermark-container"],[11122927,"#sidearm-adblock-modal"],[14783258,".overlay-advertising-new"],[10847935,".header-menu-bottom-ads"],[10138756,".rkads"],[5518248,"#bt-ads"],[7865834,".mdp-deblocker-wrapper"],[9045620,".amp-ad-inner"],[5662694,"#placeAds"],[4317978,".samBannerUnit, .samCodeUnit"],[13483022,".bloc-pub"],[2895776,".bloc-pub2"],[5410475,"#invideo_data"],[575372,"#invideo_2"],[11134231,".hor_banner"],[13519933,"#invid_call"],[12822821,"#invideo_new"],[2234398,".aan_fake"],[6926737,".aan_fake__video-units"],[283406,".rps_player_ads"],[13187573,".ad-wrap:not(#google_ads_iframe_checktag)"],[1320254,"#dontfoid"],[166323,".fints-block__row"],[5285957,"#playerOverlay[style=\"position:absolute; z-index:3\"]"],[15483573,".full-ave-pl"],[1148619,".full-bns-block"],[11332465,".vertbars"],[317803,".video-brs"],[14762135,"#plban"],[15024715,".player-bns-block"],[16319943,".wps-player__happy-inside"],[5539904,"div#spot-holder.spot-holder[style=\"display: block;\"]"],[9111492,".gallery-bns-bl"],[10693350,"#stop_ad"],[6129691,"#stop_ad2"],[13370041,".Ad-Container:not(.adsbygoogle)"],[2939730,".stream-item-widget"],[7951836,"#AdLayer1:not([style^=\"position: absolute; left: -5000px\"])"],[15555308,"#ad_300:not([style^=\"position: absolute; left: -5000px\"])"],[15551010,"#ad_728:not([style^=\"position: absolute; left: -5000px\"])"],[7873865,"#ad_area:not([style^=\"position: absolute; left: -5000px\"])"],[15503315,"#ad_big:not([style^=\"position: absolute; left: -5000px\"])"],[8461117,"#ad_footer:not([style^=\"position: absolute; left: -5000px\"]),#ad_poster"],[7377754,"#ad_slot:not([style^=\"position: absolute; left: -5000px\"])"],[2618161,"#adheader:not([style^=\"position: absolute; left: -5000px\"])"],[3600396,"#ads-1:not([style^=\"position: absolute; left: -5000px\"])"],[6337714,"#ads-banner:not([style^=\"position: absolute; left: -5000px\"]),#ads_banner"],[6341847,"#ads-footer:not([style^=\"position: absolute; left: -5000px\"]),#ads_footer"],[1552623,"#adsquare:not([style^=\"position: absolute; left: -5000px\"])"],[3485551,"#banner468:not([style^=\"position: absolute; left: -5000px\"])"],[12807344,"#banner728x90:not([style^=\"position: absolute; left: -5000px\"])"],[12941665,".ad-link:not(.adsbox)"],[6677077,".ad_unit:not(.text-ad)"],[13071653,".ad-slot:not(.adsbox):not(.adsbygoogle)"],[14492405,".ad-300x250:not(.ads)"],[7644573,".adsbyrunactive"],[16284653,"#tabVideo > .rmedia"],[8013975,"#adContext:not(:empty),#adContent"],[15493916,"#ad_img:not(:empty)"],[9603894,"#downloadAd:not(:empty)"],[12949301,"#topBannerAd:not(:empty),#topbannerad:not(:empty)"],[9270146,"#weatherad:not(:empty)"],[10834050,".ad-placeholder:not(#filter_ads_by_classname):not(#detect_ad_empire):not(#detect):not(.adsbox)"],[578336,".ads-iframe:not([style=\"position: absolute; left: -10px; top: -10px;\"])"],[1029999,"#micast_ads"],[6937134,".adde_modal_detector"],[12689313,".adde_modal-overlay"],[2755722,"#video-id_fluid_html_on_pause"],[10111524,".jw-wrapper > div[style=\"opacity: 0; visibility: hidden; overflow: hidden; display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;\"]"],[15747109,".ninja-recommend-block"],[15628580,".banner-ads:not(.textads),.banner-ad2,.banner-adv"],[15628054,".banner_ads:not(.textads)"],[8825739,"#go-to-top + div[id][class*=\" \"]"],[9737322,"#st-ami + div[id][class*=\" \"]"],[6122938,"iframe.lazyloaded[data-src^=\"https://rcm-fe.amazon-adsystem.com/\"]"],[11024341,"#advert-header:not(:empty)"],[8598616,"#adSpecial
|
||
|
|
||
|
const genericSelectorMap = self.genericSelectorMap || new Map();
|
||
|
|
||
|
if ( genericSelectorMap.size === 0 ) {
|
||
|
self.genericSelectorMap = new Map(toImport);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
for ( const toImportEntry of toImport ) {
|
||
|
const existing = genericSelectorMap.get(toImportEntry[0]);
|
||
|
genericSelectorMap.set(
|
||
|
toImportEntry[0],
|
||
|
existing === undefined
|
||
|
? toImportEntry[1]
|
||
|
: `${existing},${toImportEntry[1]}`
|
||
|
);
|
||
|
}
|
||
|
|
||
|
self.genericSelectorMap = genericSelectorMap;
|
||
|
|
||
|
/******************************************************************************/
|
||
|
|
||
|
})();
|
||
|
|
||
|
/******************************************************************************/
|