Skip to content
Permalink
Browse files

fix https://forums.lanik.us/viewtopic.php?f=62&t=38361

  • Loading branch information...
okiehsch committed Sep 27, 2017
1 parent d46136e commit a6c77af4afb45800d4fd7c268a2a5eab5a64daf3
Showing with 4 additions and 0 deletions.
  1. +4 −0 filters/filters.txt
@@ -2226,6 +2226,10 @@ watchparksandrecreation.net##script:inject(abort-on-property-write.js, _pop)
! https://www.reddit.com/r/uBlockOrigin/comments/72bind/blocking_of_all_popups_option_no_longer_working/dnj376f/
embedtvseries.com##script:inject(abort-on-property-write.js, _pop)

! https://forums.lanik.us/viewtopic.php?f=62&t=38361
newpct1.com,tumejortorrent.com##script:inject(abort-current-inline-script.js, atob, tabunder)
newpct1.com##script:inject(abort-on-property-read.js, R1PPPP.J)

! Filters below will be removed once the filter list dark-patterns.txt is
! well spread. Leave at the bottom.

8 comments on commit a6c77af

@lain566

This comment has been minimized.

Copy link

replied Sep 27, 2017

@okiehsch Same rule for these websites, are related to newpct1.com

torrentlocura.com
torrentrapid.com
divxatope1.com
@okiehsch

This comment has been minimized.

Copy link
Contributor Author

replied Sep 27, 2017

@lain566

This comment has been minimized.

Copy link

replied Sep 27, 2017

@okiehsch Thanks, but there is still a popup that is not being blocked, by clicking on green button

Screenshot

la_torre_oscura_descargar_estreno_torrent_gratis_-_2017-09-27_23-42-19

.
Test link
http://newpct1.com/descargar-pelicula/la-torre-oscura/ts-screener/

Scroll down until you see it, that button is to download the torrent file

Do you know the filter to remove it?

@okiehsch

This comment has been minimized.

Copy link
Contributor Author

replied Sep 27, 2017

I can't disable the popup without disabling the download function as far as I can see, so
||advserver.xyz^$popup is the best I can offer,

@gorhill

This comment has been minimized.

Copy link
Member

replied Sep 27, 2017

Just added a new scriptlet, window.open-defuser.js, used in abe1582.

@okiehsch

This comment has been minimized.

Copy link
Contributor Author

replied Sep 29, 2017

@gorhill if I understand gorhill/uBlock@126110c correctly, using Firefox, the new scriptlet will take effect with the release of 1.14.12, or is there a way to include this in the release candidates?

@gorhill

This comment has been minimized.

Copy link
Member

replied Sep 29, 2017

@okiehsch I will check this tomorrow. The latest version is always packaged, but since uBO is no longer allowed to update, I realize that maybe uBO now ends up always using whatever version was there at first install time -- I have to investigate.

Meanwhile you can add your filter until I sort this out.

@gorhill

This comment has been minimized.

Copy link
Member

replied Sep 29, 2017

Ok I had to ctrl-shift-click "Purge all caches" on my side to be sure the leftover cached resources.txt was completely evicted from the cache, so that the packaged one could be used. I will add code to remove it from the cache forcibly when an update cycle occurs.

Please sign in to comment.
You can’t perform that action at this time.