uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.16k stars 772 forks source link

writer tools: breakage #22246

Closed Daxy7 closed 9 months ago

Daxy7 commented 9 months ago

Prerequisites

URL address of the web page

https://duplichecker.com/
https://duplichecker.com/reverse-image-search.php
https://plagiarismchecker.co/
https://plagiarismdetector.net/
https://searchenginereports.net/
https://smallseotools.com/

Category

breakage

Description

clean up filters in case extra future breakage [plagiarismchecker.co sticky ezoic ad is unhidden in EL]+hide placeholders

new filters ``` duplichecker.com##.container > div[style*="margin-top:"]:has(a[href^="https://www.duplichecker.com/linksmgm"]) duplichecker.com##ccc, cc, .dfdfdf, .jetdew, .moiid, .plkane, .vvdsd, .vvefv, .st_dd, #img0000, a[onclick*="grmly_"] duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(nostif, showPopup) plagiarismchecker.co##body *:matches-css(margin: /auto/):matches-css(width: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(height: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(display: /block|table/):remove() plagiarismchecker.co##[class^="papa-"], #topbox, #afterbox, #top-ad, #before-ad, #after-ad, ins.adsbygoogle plagiarismdetector.net##a[id][class][rel]:has(> img[class][src^="https://plagiarismdetector.net/"]) plagiarismdetector.net##[id][class] > a[rel*="nofollow"][class] > img[class][src^="https://plagiarismdetector.net"] plagiarismdetector.net##[id][class] > a[rel*="nofollow"][style*="cursor"] > img[class][src^="https://plagiarismdetector.net"] searchenginereports.net##.grammarly-overall searchenginereports.net##div[class^="theBdsy"], div[id^="theBdsy_"] smallseotools.com##+js(aeld, mouseout, clientWidth) smallseotools.com##.mx-auto.d-block ||duplichecker.com/*.php|$image,1p ||grammarly.com/*utm_source=$popup,domain=duplichecker.com|plagiarismchecker.co|plagiarismdetector.net|searchenginereports.net|smallseotools.com ||plagiarismdetector.net/bb_cc/_grammarly_popup.svg$image,1p ||searchenginereports.net/theAdGMC/$image,1p ``` ``` ! invalid !*$image,redirect-rule=1x1.gif,domain=smallseotools.com !||smallseotools.com/*.gif$image !||smallseotools.com/webimages/a1$image,1p !@@||smallseotools.com/webimages/process.gif !duplichecker.com##+js(no-fetch-if, /google|\/ad.+\.js/) !duplichecker.com##+js(no-xhr-if, ads) !||delivery.adrecover.com^$image,redirect-rule=1x1.gif !||plagiarismdetector.net/js/*bioep !@@*$ghide,domain=duplichecker.com|plagiarismchecker.co|searchenginereports.net|smallseotools.com !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(no-fetch-if, /googlesyndication|adpushup|adrecover/) !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(norafif, _0x) !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(nosiif, ads) !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##[href*="grammarly.com"] !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##div[class]:not([id]):not(.container):not(.main-content):has(> div[id] > ins.adsbygoogle) !duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##div[style]:not([class]):has(> div[class][style] > span[class] > ._ap_apex_ad) !duplichecker.com##.adsbygoogle:upward([style]):upward([style]) !duplichecker.com##style + div[class]:has(> .adsbygoogle) !duplichecker.com##div:has(> span[id^="side_bar"] > .adsbygoogle) !duplichecker.com##div[style^="min-height:"]:has(> span > ._ap_apex_ad) !duplichecker.com##.container-fluid:has(> .container:first-child > .text-center > a[onclick^="PushClickValue"][style]) !smallseotools.com##.show.g_popup.fade.modal !smallseotools.com##.show.fade.modal-backdrop !smallseotools.com##body:style(overflow: auto !important;) !||smallseotools.com/webimages/garamarlelogo.png$image,1p !smallseotools.com##+js(rpnt, script, .css('display') == 'none', .css('display') == 'block') !smallseotools.com##+js(rpnt, script, .is(':visible')) !smallseotools.com##.sede_ara > span:has(> .adsbygoogle) !smallseotools.com##.sede_ara > div[class^="my-"]:has(> .adsbygoogle) !smallseotools.com##abc, iamp, .text_sinter, .mxutoo, [data-topy], .dola__a_est_, [class*="_amamarli_"], [class*="_carosl_"], [dat-hnge], [id^="ayima"], [data-rede="carousl"], [class^="carousl-"] !smallseotools.com##span[id$="__sst"]:remove() !smallseotools.com##span[onclick*="https://smallseotools.com/deep_grammar.html"] !smallseotools.com##span[onclick*="https://smallseotools.com/deep_pcgrammar.html"] !searchenginereports.net,plagiarismdetector.net##+js(no-xhr-if, /googlesyndication|adpushup|adrecover/) !searchenginereports.net##+js(rmnt, script, /check_if_blocking|XMLHttpRequest|adkiller/) !searchenginereports.net##div:has(> .adsbygoogle) !searchenginereports.net##div[id^="showtheadsfatf_"], div[id^="imgyad"], .showtheadsfatf, a[href="https://searchenginereports.net/gmadads"] !searchenginereports.net##+js(spoof-css, div[id^="showtheadsfatf_"]\, div[id^="imgyad"]\, .showtheadsfatf\, a[href="https://searchenginereports.net/gmadads"], display, block) !||searchenginereports.net/newassets/images/semrush-banner$image,1p !plagiarismdetector.net##[style^="min-height:"][class][id], #img1, #img2, #img3, #img4, #img5 !plagiarismdetector.net##[rel]:matches-attr(/^/=/utm_source/) !plagiarismdetector.net##[id]:matches-attr(id="/[a-z0-9]{32}/") + [class] ||plagiarismdetector.net/img-pop25/popup2.png$image,1p !plagiarismchecker.co##+js(rpnt, script, ").removeClass(', ").addClass(', condition, adsbygoogle) !plagiarismchecker.co##+js(rpnt, script, ").removeClass(`, ").addClass(`, condition, adsbygoogle) !plagiarismchecker.co##+js(rpnt, script, ).fadeIn().removeClass(, ).addClass(, condition, adsbygoogle) !plagiarismchecker.co##+js(rpnt, style, display:block!important, display:none!important) !plagiarismchecker.co##+js(rpnt, style, {display:block;}, {display:none!important;}) !plagiarismchecker.co##+js(rpnt, style, {display:block}, {display:none!important;}, condition, grammarDisplay ) !plagiarismchecker.co##.col-md-9 > section + span > section[class] !plagiarismchecker.co##[class][style*="display"][style*="block"]:has(a img[src^="https://www.plagiarismchecker.co/"]) ```

Other extensions used

none

Screenshot(s)

Screenshot(s)

Configuration

```yaml uBlock Origin: 1.55.0 Firefox: 115 filterset (summary): network: 106480 cosmetic: 48937 scriptlet: 23765 html: 2262 listset (total-discarded, last-updated): removed: urlhaus-1: null plowe-0: null added: https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt: 1038-0, 1m https://raw.githubusercontent.com/Daxy7/webSiteFilters/main/Ublock/getadmiral_bypass_warnings.txt: 1993-0, 1m ublock-annoyances: 6553-12, 1m default: user-filters: 2133-16, never ublock-filters: 37454-179, 1m Δ ublock-badware: 7800-10, 1m ublock-privacy: 988-0, 1m Δ ublock-unbreak: 2244-0, 1m Δ ublock-quick-fixes: 143-0, 1m easylist: 79959-384, 1m easyprivacy: 43595-1775, 1m filterset (user): [array of 986 redacted] switchRuleset: added: [array of 11 redacted] hostRuleset: added: [array of 10 redacted] removed: behind-the-scene * * noop userSettings: advancedUserEnabled: true suspendUntilListsAreLoaded: false hiddenSettings: [none] supportStats: allReadyAfter: 1726 ms (selfie) maxAssetCacheWait: 274 ms cacheBackend: indexedDB unsuspendAfter: 1359 ms popupPanel: blocked: 3 network: adpushup.com: 1 googletagmanager.com: 2 extended: ##span[onclick*="https://smallseotools.com/deep_pcgrammar.html"] ##.b ##.px304 ##[class*="gram"] ##*:style(animation: none !important;) ##body:style(overflow: auto !important;) ##*:style(border-radius:0px !important;) ##+js(addEventListener-defuser, mouseout, clientWidth) ##+js(no-fetch-if, /googlesyndication|adpushup|adrecover/) ##+js(no-requestAnimationFrame-if, _0x) ##+js(no-setInterval-if, ads) ##+js(no-setTimeout-if, showPopup) ##+js(trusted-replace-node-text, script, .css('display') == 'non… ##+js(trusted-replace-node-text, script, .is(':visible')) ```
Daxy7 commented 8 months ago

@JobcenterTycoon updated precision, removed extra redundants

``` duplichecker.com##.dfdfdf,.jetdew,.moiid,.plkane,.zabcmohs duplichecker.com,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(aeld, mouseout, clientWidth) plagiarismchecker.co###afterbox, #topbox plagiarismchecker.co##[style*="block"]:not(.check_btn) plagiarismchecker.co,plagiarismdetector.net##._ap_apex_ad plagiarismdetector.net##.d-block:not(.yellow_tick,.zinc_tick) searchenginereports.net##.theBsy searchenginereports.net##[onclick*="Grammarly_Header_Banner"] smallseotools.com##.d-block:not(a,.f_api,.f_wordpress,.rt_box) ||duplichecker.com/*.php|$image ||searchenginereports.net/*.gif|$image ```
JobcenterTycoon commented 8 months ago

What is wrong with the current filter? Filter like duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##[href*="grammarly.com"] are still in use.

Daxy7 commented 8 months ago

What does it change on the website though? If we can minimize down to the specific divs I think it'll cause less breakage long term. There are high calculate filters like

`plagiarismchecker.co##body *:matches-css(margin: /auto/):matches-css(width: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(height: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(display: /block|table/):remove()` which was stripped to `plagiarismchecker.co##[style*="block"]:not(.check_btn)` or `plagiarismdetector.net##[id][class] > a[rel*="nofollow"][style*="cursor"] > img[class][src^="https://plagiarismdetector.net"]` which is now `plagiarismdetector.net##.d-block:not(.yellow_tick,.zinc_tick)`

We were only using these because of the admin[s] changing the divs daily. He has given up now. Anyways can be shortened now in case of slow PC's temp showing grammarly ads and not important to keep it revolving anymore.

JobcenterTycoon commented 8 months ago

Ok i will try. Just in case i will backup the old filter here:

``` ! https://github.com/uBlockOrigin/uAssets/issues/9449 duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##[href*="grammarly.com"] duplichecker.com,plagiarismchecker.co,plagiarismdetector.net,searchenginereports.net,smallseotools.com##+js(nostif, showPopup) duplichecker.com##.container > div[style*="margin-top:"]:has(a[href^="https://www.duplichecker.com/linksmgm"]) duplichecker.com##ccc, cc, .dfdfdf, .jetdew, .moiid, .plkane, .vvdsd, .vvefv, .st_dd, #img0000, a[onclick*="grmly_"] plagiarismchecker.co##body *:matches-css(margin: /auto/):matches-css(width: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(height: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(display: /block|table/):remove() plagiarismchecker.co##[class^="papa-"], #topbox, #afterbox, #top-ad, #before-ad, #after-ad, ins.adsbygoogle plagiarismdetector.net##a[id][class][rel]:has(> img[class][src^="https://plagiarismdetector.net/"]) plagiarismdetector.net##[id][class] > a[rel*="nofollow"][class] > img[class][src^="https://plagiarismdetector.net"] plagiarismdetector.net##[id][class] > a[rel*="nofollow"][style*="cursor"] > img[class][src^="https://plagiarismdetector.net"] plagiarismdetector.net##a[onclick*="PC_Home_gra"][rel="nofollow noopener"][target="_blank"] searchenginereports.net##.grammarly-overall searchenginereports.net##div[class^="theBdsy"], div[id^="theBdsy_"] smallseotools.com##+js(aeld, mouseout, clientWidth) smallseotools.com##.mx-auto.d-block smallseotools.com##span[onclick*="https://smallseotools.com/deep_grammar.html"] smallseotools.com##span[onclick*="https://smallseotools.com/deep_pcgrammar.html"] ||duplichecker.com/*.php|$image,1p ||grammarly.com/*utm_source=$popup,domain=duplichecker.com|plagiarismchecker.co|plagiarismdetector.net|searchenginereports.net|smallseotools.com ||plagiarismdetector.net/bb_cc/_grammarly_popup.svg$image,1p ||searchenginereports.net/theAdGMC/$image,1p ||smallseotools.com/webimages/a12/$image,1p ```

Edit: Done https://github.com/uBlockOrigin/uAssets/commit/c65dcc81e48b5b886d78a21a3d2585af259197a2

Daxy7 commented 8 months ago

@JobcenterTycoon try

``` plagiarismchecker.co##[alt="img"]:upward(2) ``` or re-add ``` plagiarismchecker.co##body *:matches-css(margin: /auto/):matches-css(width: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(height: /^[2-3]{1}[0-9]{2}(\.[0-9]+)?px$/):matches-css(display: /block|table/):remove() ``` perma if `img` gets automatically circumvented in a few days. other filters were added to EL by Yuki2718 instead of `imgimg` dir to `whatimage`: alternative to the above aforementioned ``` @@||plagiarismchecker.co/design_images/*$image,1p @@||plagiarismchecker.co/favicon.ico$image,1p @@||plagiarismchecker.co/images/*$image,1p plagiarismchecker.co##.col-md > span plagiarismchecker.co##.col-md-9 > span ||plagiarismchecker.co/*$image,1p ```
JobcenterTycoon commented 8 months ago

plagiarismchecker.co have a ton more legit images like on https://www.plagiarismchecker.co/citation-generator. Also they can place ad images on plagiarismchecker.co/images/ and plagiarismchecker.co/design_images/ as well (and they did in the past). Also filter like plagiarismchecker.co##[alt="img"]:upward(2) are inefficient, they would just change the alt text or even remove the alt attribute.

I don't think they auto circumvent but pretty sure they using a bot to alert if a new filter for this site getting added. I will try the old filter.

Daxy7 commented 8 months ago

duplichecker.com grammarly ads maybe since it was added to EL it's detected in sites still using server-sided script

Daxy7 commented 8 months ago

duplichecker.com div cycles need this year old js filter. ad breakage, when no cosmetics enabled, hide with +js duplichecker.com##+js(no-fetch-if, /google|\/ad.+\.js/) jquery display by a couple domains, ones that have fancy animations, can it be hidden fully like below but by js filter to unbreak? ||jquery.com/*$script,domain=plagiarismdetector.net /jquery-*$script,domain=plagiarismchecker.co less of updating as scriptlets on group usually very stable

JobcenterTycoon commented 8 months ago

Its fine enough.

Daxy7 commented 7 months ago

https://searchenginereports.net/ placeholders searchenginereports.net##.theMsy