AdguardTeam / AdguardFilters

AdGuard Content Blocking Filters
https://adguard.com/
GNU General Public License v3.0
3.08k stars 622 forks source link

weather.com #130229

Closed adguard-bot closed 1 year ago

adguard-bot commented 1 year ago

Issue URL (Anti Adblock Script)

https://weather.com/weather/tenday/l/4b807770f7a9a68ab3236c14beec03d4f8471b97c32e6e9e972a36533e58559b

Comment

Username: @saturnotaku

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/K6fEWMx.png)

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.22
Browser: Firefox
Stealth mode: disabled
Filters: Ad Blocking:
AdGuard Base

Annoyances:
AdGuard Annoyances

Language-specific:
AdGuard French,
EasyList Czech and Slovak,
Liste AR,
Dandelion Sprout's Nordic Filters
Other extensions used: No other extensions that would impact AdGuard functionality.
jellizaveta commented 1 year ago

@saturnotaku Unfortunately, I can't reproduce it. Please, try to update filters, clear your browser cache and check the site again

@AdguardTeam/filters-maintainers please, take a look

adguard-bot commented 1 year ago

Issue URL (Anti Adblock Script)

https://weather.com/weather/today/l/USNH0274:1:US

Comment

Pausing adguard and putting weather.com on my allow list does not help

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/sLWQ9sI.jpg)

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.22
Browser: Chrome
Stealth mode: disabled
Filters: Ad Blocking:
AdGuard Base

Annoyances:
AdGuard Annoyances

Other:
Filter unblocking search ads and self-promotion

Language-specific:AdGuard French,
AdGuard Russian,
AdGuard Chinese,
AdGuard German,
AdGuard Japanese,
AdGuard Dutch,
AdGuard Spanish/Portuguese,
EasyList Czech and Slovak,
EasyList Italy,
EasyList Thailand,
Hungarian,
Official Polish filters for AdBlock, uBlock Origin & AdGuard,
List-KR,
Adblock List for Finland,
Polish Anti Adblock Filters,
Frellwit's Swedish Filter,
Dandelion Sprout's Nordic Filters
Other extensions used: none
BlazDT commented 1 year ago

Not reproduced with given configs and US VPN and freshly registered account (also tried with DNS protection, but same).

@ latest reporter Looks like something else is blocking it (maybe some DNS).

Site has this interesting code which automatically deletes the set cookie:

 document.cookie = '__adblocker=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/';

export const INITIAL_STATE = {
  custParamsComplete: false,
  adCallComplete: false,
  targetingReady: false,
};
export const REDUCER_KEY = 'ads';
export const DISPLAY_LAZY_LOADED_AD = 'WXU/ADS/DISPLAY_LAZY_LOADED_AD';
export const requestManager = {
  atf: {
    adserverRequestSent: false,
    amzn: false,
    criteoSlot: false,
    prebid: false,
    posNotToRefresh: [],
  },
  btf: {
    adserverRequestSent: false,
    amzn: false,
    criteoSlot: false,
    prebid: false,
    posNotToRefresh: [],
  },
};
export const AD_CALL = 'AD_CALL';
export const AD_CALL_BTF = 'AD_CALL_BTF';
export const AD_SEQUENTIAL_LOAD_EVENT = 'slotRenderEnded';
export const RUBICON_WRAPPER_LOADED = 'WXU/ADS/RUBICON_WRAPPER_LOADED';
export const RUBICON_INITIALIZED = 'WXU/ADS/RUBICON_INITIALIZED';
export const RUBICON_DONE = 'WXU/ADS/RUBICON_DONE';
export const RUBICON_NO_WRAPPER = 'WXU/ADS/RUBICON_NO_WRAPPER';
export const REFRESH_ADS = 'WXU/ADS/REFRESH_ADS';
export const HANDLE_ARTICLE_COLLECTION_ADS = 'WXU/ADS/HANDLE_ARTICLE_COLLECTION_ADS';
export const HANDLE_MISSING_VIDEO_COMPANION = 'WXU/ADS/HANDLE_MISSING_VIDEO_COMPANION';
export const ADS_NEW_THREAD_DELAY = 100;
export const ADS_BIDDERS_PREP_TIMEOUT = 1000;
export const ADS_BIDDERS_AMZNHDBID_LOADED = 'WXU/ADS/ADS_BIDDERS_AMZNHDBID_LOADED';
export const SLOTS_READY = 'WXU/ADS/SLOTS/READY';
export const SET_TARGETING_READY = 'WXU/ADS/SET_TARGETING_READY';
export const SET_TARGETING_CUST_PARAMS = 'WXU/ADS/SET_TARGETING_CUST_PARAMS';
export const COMPLETE_TARGETING_FOR_CUST_PARAMS = 'WXU/ADS/COMPLETE_TARGETING_FOR_CUST_PARAMS';
export const CUST_PARAMS_THIRD_PARTY_PREPARES_DONE = 'WXU/ADS/CUST_PARAMS_THIRD_PARTY_PREPARES_DONE';
export const SET_ALL_CUST_PARAMS = 'WXU/ADS/SET_ALL_CUST_PARAMS';
export const SLOTS_READY_DEPENDENT_THIRD_PARTY_PREPARES_DONE = 'WXU/ADS/SLOTS_READY_DEPENDENT_THIRD_PARTY_PREPARES_DONE';
export const LOAD_AMAZON_HDBID = 'WXU/ADS/LOAD_AMAZON_HDBID';
export const SET_AMAZON_HDBID_SLOTS = 'WXU/ADS/SET_AMAZON_HDBID_SLOTS';
export const SET_AMAZON_SLOTS_CUST_PARAMS = 'WXU/ADS/SET_AMAZON_SLOTS_CUST_PARAMS';
export const SET_CRITEO = 'WXU/ADS/SET_CRITEO';
export const SET_LOTAME = 'WXU/ADS/SET_LOTAME';
export const SET_CRITEO_SLOTS = 'WXU/ADS/SET_CRITEO_SLOTS';
export const LOAD_CRITEO_SLOTS = 'WXU/ADS/LOAD_CRITEO_SLOTS';
export const SET_IASPET_SLOTS = 'WXU/ADS/SET_IASPET_SLOTS';
export const LOAD_INDEX_EXCHANGE = 'WXU/ADS/LOAD_INDEX_EXCHANGE';
export const SET_MISC_CUST_PARAMS = 'WXU/ADS/SET_MISC_CUST_PARAMS';
export const SET_PREBID = 'WXU/ADS/SET_PREBID';
export const SET_WX_AD_TARGETING = 'WXU/ADS/SET_WX_AD_TARGETING';
export const SET_WFXTG_TARGETING = 'WXU/ADS/SET_WFXTG_TARGETING';
export const SET_LOTAME_TARGETING = 'WXU/ADS/SET_LOTAME_TARGETING';
export const AD_BLOCKER = 'adBlocker';
export const MAIN_SLOT = 'MW_Position1';
export const NO_AD_CALL_EXCLUSION = 'WXU/ADS/NO_AD_CALL_EXCLUSION';
export const EXCLUDED_LANGUAGES = [
  'fa',
  'tl',
  'id',
];
export const EXCLUDED_COUNTRIES = [
  'CU',
  'IR',
  'SD',
  'SY',
  'UA',
];
export const CUST_PARAMS_THIRD_PARTIES = [
  'amazonSlots',
  'criteo',
  'miscCustParams',
  'wfxtg',
  'wxAdTargeting',
];
export const SLOTS_READY_DEPENDENT_THIRD_PARTIES = [
  'iasPetSlot',
  'rubicon',
];
export const REFRESH_THIRD_PARTIES = [
  'refreshAds',
  'userActionAdRefresh',
];

export const DEFAULT_MW_EMBEDDED_AD_POSITION_1 = 'MW_Position2';
export const DEFAULT_MW_EMBEDDED_AD_POSITION_2 = 'MW_Position3';

    const p = {
                MISC_CUST_PARAMS: {
                    token: "miscCustParams"
                },
                WFXTG: {
                    token: "wfxtg"
                },
                AMAZON_HEADER_BIDDER: {
                    token: "amznHdBid",
                    script: "//c.amazon-adsystem.com/aax2/apstag.js"
                },
                AMAZON_SLOTS: {
                    token: "amznslots",
                    script: "//c.amazon-adsystem.com/aax2/amzn_ads.js"
                },
                PREBID: {
                    token: "prebid",
                    script: "//ep00.epimg.net/js/pbs/prebid.js"
                },
                CRITEO_SLOT: {
                    token: "criteoSlot",
                    script: "//static.criteo.net/js/ld/publishertag.js"
                },
                CRITEO: {
                    token: "criteo"
                },
                IAS_PET_SLOT: {
                    token: "iasPetSlot",
                    script: "//cdn.adsafeprotected.com/iasPET.1.js"
                },
                INDEX_EXCHANGE: {
                    token: "index"
                },
                LOTAME: {
                    token: "lotame"
                },
                MOAT_YIELD_INTELLIGENCE: {
                    token: "moatYieldIntelligence",
                    script: "https://z.moatads.com/weatherprebidheader264491819464/moatheader.js"
                },
                WX_AD_TARGETING: {
                    token: "wxAdTargeting"
                },
                GEOEDGE: {
                    token: "geoedge",
                    script: "//d3b02estmut877.cloudfront.net/grumi-ip.js"
                },
                CONFIANT: {
                    token: "confiant",
                    script: "//confiant-integrations.global.ssl.fastly.net/sM1wMdWIAB1LeJwC9QvIgGUpPQ0/gpt_and_prebid/config.js"
                },
                PREMIUM_AD_DATA_LAKE: {
                    token: "premiumAdDataLake"
                },
                REFRESH_ADS: {
                    token: "refreshAds"
                },
                RUBICON: {
                    token: "rubicon"
                },
                VIDEO_PREROLL_BIDDERS: {
                    token: "videoPrerollBidders"
                },
                USER_ACTION_AD_REFRESH: {
                    token: "userActionAdRefresh"
                },
                DESKTOP_USER_ACTION_AD_REFRESH: {
                    token: "desktopUserActionAdRefresh"
                },
                SEQUENTIAL_AD_LOADER: {
                    token: "sequentialAdLoader"
                },
                BIDDING_PROCESS_TIMEOUT: {
                    token: "biddingProcessTimeout",
                    maxTime: -1
                }

@saturnotaku Please try these rules:

@@||cdn.adsafeprotected.com/iasPET.1.js$domain=weather.com
@@||z.moatads.com/weatherprebidheader264491819464/moatheader.js$domain=weather.com
@@||confiant-integrations.global.ssl.fastly.net/*/gpt_and_prebid/config.js$domain=weather.com
@@||static.criteo.net/js/ld/publishertag.js$domain=weather.com

If not working, please try to add these two rules too:

@@||c.amazon-adsystem.com/aax2/amzn_ads.js$domain=weather.com
@@||ep00.epimg.net/js/pbs/prebid.js$domain=weather.com
saturnotaku commented 1 year ago

Applied all rules, cleared browser cache, message still appears as on the attached.

Screen Shot 2022-09-20 at 12 25 26 PM

BlazDT commented 1 year ago

Please try this rule in addition: @@||weather.com^$generichide

Please right click on adblock message -> Inspect and post a screenshot, thank you.

@zloyden could you please check on Mac FireFox, thank you. Maybe something different on Mac.

adguard-bot commented 1 year ago

Issue URL (Anti Adblock Script)

https://weather.com/weather/tenday/l/5217b9dfa352a7d30918cd7e0ca210438e88f85736025a8ce3899d7ccd608efb

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/G380BhI.png)

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.22
Browser: Chrome
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Strip URLs from tracking parameters,
Block WebRTC,
Hide your Referrer from third-parties
Filters: Ad Blocking:
AdGuard Base

Privacy:
AdGuard URL Tracking,
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances

Language-specific:
AdGuard French,
AdGuard Spanish/Portuguese
saturnotaku commented 1 year ago

Screen Shot 2022-09-20 at 12 43 28 PM

New rule did not work. Inspection of popup is attached. Please advise if more information is needed. Thank you.

BlazDT commented 1 year ago

Please try these hide rules:

weather.com#$#.pn-boilerplate--adblocker-intercept { display: none !important; }
weather.com#$#body { overflow: auto !important; }

If scrolling does not work, please try this rule instead of the one with body (if also not working, then both body and html) weather.com#$#html { overflow: auto !important; }

Sadly it does not even show in code :(

saturnotaku commented 1 year ago

Still not working, unfortunately. :-(

Really appreciate your efforts.

BlazDT commented 1 year ago
weather.com#%#//scriptlet("abort-on-property-read", "setNptTechAdblockerCookie")
@@||securepubads.g.doubleclick.net/pagead/ppub_config$domain=weather.com
@@||weather.com/daybreak-today/assets/peel1.ext.df9c55.js$domain=weather.com

Site gave me a bit new code, but it will just not trigger (even when I manually set the adblocker code). They call the function setNptTechAdblockerCookie onerror.

EDIT: Instead of first #%# rule you can also try this rule: weather.com#%#Object.defineProperty(window, 'setNptTechAdblockerCookie', { get: function() { return; } });

Function setNptTechAdblockerCookie seems to only exist when visiting the site with US IP.

adguard-bot commented 1 year ago

Issue URL (Anti Adblock Script)

https://weather.com

Comment

Message can be closed out on main weather.com page but not on the 10-day forecast.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/Nq8wfAJ.png)

System configuration

Information value
AdGuard product: AdGuard for Windows v7.10.2
Browser: Chrome
AdGuard driver: WFP
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Disable cache for third-party requests,
Block WebRTC,
Block Location API
DNS filtering: disabled
Filters: Ad Blocking:
AdGuard Base

Privacy:
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances
Userscripts: https://userscripts.adtidy.org/release/assistant/4.3/assistant.user.js,
https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.user.js,
https://userscripts.adtidy.org/release/popup-blocker/2.5/popupblocker.user.js,
https://userscripts.adtidy.org/release/adguard-wot/1.0/wot.user.js
BlazDT commented 1 year ago

@saturnotaku any news?

saturnotaku commented 1 year ago

Seems to be working fine. No issues on macOS Firefox with just the extension or on Windows with the AdGuard client application and Edge browser extension. Thanks!

BlazDT commented 1 year ago

You are welcome. Added the three first rules in my previous rule posting.

zloyden commented 1 year ago

@BlazDT I haven't seen this with US IP on my end, but notice the code above. I'm glad the rules help:)