uBlockOrigin / uAssets

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

tekniknot.com: detection #20927

Closed ItsProfessional closed 9 months ago

ItsProfessional commented 9 months ago

Prerequisites

URL(s) where the issue occurs.

https://tekniknot.com/android-reklam-engelleme/

Description

Detection script ```js function isGecko() { var e = document.querySelector('.td-post-content'), t = new XMLHttpRequest; t.open('GET', '/isGecko', !0), t.onreadystatechange = function () { 4 === t.readyState && 200 === t.status && (e.innerHTML = t.responseText) }, t.send() } window.onload = () => { if (jQuery('.adsbygoogle').height() == 0) { isGecko() } } ```

I tried @@||tekniknot.com^$ghide, but that did not work for some reason.

tekniknot.com##+js(acs, onload, adsbygoogle)

Other extensions used

None

Screenshot(s)

Screenshot(s) ![image](https://github.com/uBlockOrigin/uAssets/assets/63961221/773aaf8f-ac60-4b4d-93b5-7a1b991c6dae)

Configuration

Details ```yaml uBlock Origin: 1.54.0 Firefox: 120 filterset (summary): network: 189838 cosmetic: 116805 scriptlet: 26096 html: 1308 listset (total-discarded, last-updated): added: easylist-annoyances: 4191-95, 2d.21h.34m easylist-chat: 165-0, 2d.21h.34m fanboy-cookiemonster: 49037-281, 2d.21h.34m ublock-cookies-easylist: 577-0, 2d.21h.34m easylist-newsletters: 6660-13, 2d.21h.34m easylist-notifications: 2877-4, 2d.21h.34m fanboy-social: 16161-7, 2d.21h.34m ublock-annoyances: 5852-608, 2d.21h.34m default: user-filters: 0-0, never ublock-filters: 36650-109, 1h.29m ublock-badware: 7522-10, 1h.29m ublock-privacy: 860-4, 1h.29m ublock-unbreak: 2200-2, 1h.29m ublock-quick-fixes: 191-2, 1h.29m easylist: 75665-731, 3d.22h.46m adguard-spyware-url: 1338-94, 3d.22h.46m easyprivacy: 32964-824, 3d.22h.46m urlhaus-1: 9605-0, 18h.4m curben-phishing: 78437-29, 18h.5m plowe-0: 3719-1, 3d.22h.45m LegitimateURLShortener: 2497-157, 1h.29m filterset (user): [empty] trustedset: added: [array of 1 redacted] userSettings: advancedUserEnabled: true hiddenSettings: trustedListPrefixes: ublock- user- supportStats: allReadyAfter: 3180 ms maxAssetCacheWait: 1988 ms popupPanel: blocked: 4 network: cloudflare.com: 1 googlesyndication.com: 1 googletagmanager.com: 1 yandex.ru: 1 extended: ##a[href^="https://pinterest.com/pin/create/"] ##a[href^="https://www.facebook.com/sharer.php?"] ##a[href^="https://www.linkedin.com/shareArticle?"] ##.td-scroll-up ##.td-social-icon-wrap ##.td-icon-facebook ##.td-icon-instagram ##.td-icon-twitter ##.td-icon-youtube ##ins.adsbygoogle ##.td-post-sharing-bottom ##.td-post-sharing ##.td-social-sharing-button ##.wc_social_plugin_wrapper ##.wpd-sbs-title ##.wpdiscuz-subscribe-bar ###wpd-bubble-wrapper ```
BlazeFTL commented 9 months ago

@@||tekniknot.com^$ghide

Bcz Its Checking .height() == 0 Style Rewrite Is Needed

ghajini commented 9 months ago

@Yuki2718 AG Turkish list

Yuki2718 commented 9 months ago

I tried @@||tekniknot.com^$ghide, but that did not work for some reason.

Really? On my end tekniknot.com#@#ins.adsbygoogle works fine with uBO. @slavaleleka it seems AG's googlesyndication-adsbygoogle redirect resource lacks something.

ItsProfessional commented 9 months ago

@Yuki2718 tekniknot.com#@#ins.adsbygoogle works on my end now. No clue why it didn't work earlier. It was even apparent in the logger that the bait .adsbygoogle wasn't being hidden by uBO, yet the detection appeared.

Maybe it has to do something with me refreshing the page after modifying the filters, instead of opening it in a new tab.

slavaleleka commented 9 months ago

@Yuki2718

it seems AG's googlesyndication-adsbygoogle redirect resource lacks something

would you please file an issue in the Scriptlets repo?

Yuki2718 commented 9 months ago

@slavaleleka Sorry, I didn't check properly at the time. I found the problem is not in the redirect resource but ##.td-a-rec in Base filter.