Opened 3 months ago

Last modified 8 weeks ago

#5425 new defect

-abp-has does not work on a new tab (without refresh)

Reported by: mapx Assignee:
Priority: Unknown Milestone:
Module: Platform Keywords:
Cc: hfiguiere, trev, kzar, sebastian, fhd Blocked By:
Blocking: Platform: Chrome
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

w 10
ABP chrome 1.13.3.1791

How to reproduce

add this custom filter
yggtorrent.com#?#TR > TD > TABLE > TBODY > TR:-abp-has(A[href$="/go_vpn"])

go to
https://yggtorrent.com/torrent/filmvid%C3%A9o/s%C3%A9rie-tv/23187-game+of+thrones+s07e01+vostfr+1080p+web+h264-extreme+mkv

Observed behaviour

the vpn ad row is not hidden
Conseil Anti-Hadopi Nous vous recommandons fortement l'utilisation d'un VPN pour télécharger vos torrents en toute sécurité & anonymat : Accéder au VPN Trust.zone

The filter is applied only after refresh (F5)

Expected behaviour

The filter should be applied on the new loaded page.

Change History (6)

comment:1 Changed 3 months ago by mapx

  • Cc sebastian fhd added

comment:2 Changed 3 months ago by hfiguiere

I can reproduce, unless I have the devtools panel open.

comment:3 Changed 3 months ago by mapx

Well, I get another (or related) bug (I don't know if it's what you are talking about with the dev panel):

I opened the site, refreshed the page and the filter was applied.
If I open the dev panel, specifically ABP panel, refresh the page ==> the filter is completely ignored.

Last edited 3 months ago by mapx (previous) (diff)

comment:4 Changed 3 months ago by mapx

Another scenario: just use shift-F5 on page ==> the ad still unhidden.

comment:5 Changed 3 months ago by hfiguiere

As of today the ad is in a different place in the DOM.

The new filter should be:

yggtorrent.com#?#center:-abp-has(a[href$="/engine/vpn"])

Problem still exist though.

comment:6 Changed 8 weeks ago by hfiguiere

The current up to date filter is:

yggtorrent.com#?#tr:-abp-has(> td > a[href$="/engine/vpn"])

And with the fix for issue #5438 it seems the issue is solved.

Last edited 8 weeks ago by hfiguiere (previous) (diff)
Note: See TracTickets for help on using tickets.