[annoyances] allocine.fr
Moderator: Liste AR & FR Mods
-
- Senior Member
- Posts: 56
- Joined: Fri Apr 01, 2016 5:48 pm
[annoyances] allocine.fr
Bonjour, le site nous casse les pieds avec cette pub :
https://imgur.com/mftEITc
Même BehindTheOverlay n'arrive pas à la faire disparaître.
https://imgur.com/mftEITc
Même BehindTheOverlay n'arrive pas à la faire disparaître.
Celle-là vient du site lui-même et redirige vers le site, donc je ne sais pas si ça peut être retiré; après tout, ce n'est pas du contenu commercial à proprement parler.
-
- Senior Member
- Posts: 56
- Joined: Fri Apr 01, 2016 5:48 pm
Bonjour,
Je suis désolé d'insister, mais je crois bien que ce genre de "layover" tombe dans la catégorie des désagréments ("annoyances"). Il faut fermer ce layover à chaque visite. J'ai essayé toutes les extensions de suppression de layovers, notamment Behind The Overlay, Behind The Overlay Revival, Overlay Remover Auto, ffCK Overlays. À chaque, je me retrouve avec une page sans la pub mais avec l'overlay toujours en place. Je peux paginer mais je ne peux cliquer sur rien (car c'est l'overlay).
https://i.imgur.com/E3OyLTo.png
C'est le seul site où il m'est impossible de me débarrasser de l'overlay sans cliquer dessus. Merci.
Je suis désolé d'insister, mais je crois bien que ce genre de "layover" tombe dans la catégorie des désagréments ("annoyances"). Il faut fermer ce layover à chaque visite. J'ai essayé toutes les extensions de suppression de layovers, notamment Behind The Overlay, Behind The Overlay Revival, Overlay Remover Auto, ffCK Overlays. À chaque, je me retrouve avec une page sans la pub mais avec l'overlay toujours en place. Je peux paginer mais je ne peux cliquer sur rien (car c'est l'overlay).
https://i.imgur.com/E3OyLTo.png
C'est le seul site où il m'est impossible de me débarrasser de l'overlay sans cliquer dessus. Merci.
J'ai testé.
Le dialogue et le masque sont affichés via une class CSS ajoutée au tag HTML ("open-modal")
En bloquant cela, on arrive à bloquer aussi l'affichage du dialogue.
Ceci fonctionne dans uBlock:
Est-ce que cela casse autre chose? A vous de voir à l'usage...
Le dialogue et le masque sont affichés via une class CSS ajoutée au tag HTML ("open-modal")
En bloquant cela, on arrive à bloquer aussi l'affichage du dialogue.
Ceci fonctionne dans uBlock:
Code: Select all
allocine.fr##+js(aopw, document.documentElement.classList.add)
Your filter is breaking the home page, the slide stuff
try instead:
try instead:
Code: Select all
allocine.fr##+js(set, document.documentElement.classList.add, trueFunc)
@intense you know uBO syntax much better than me.
Do you know of any way to prevent only one specific class to be added instead of blocking all additions?
Do you know of any way to prevent only one specific class to be added instead of blocking all additions?
uBO has this scriptlet:
https://github.com/gorhill/uBlock/wiki/ ... rary#rcjs-
so, theoretically a filter like this
A member of uBO team wrote his own remove-class
see here: https://raw.githubusercontent.com/uBloc ... iptlets.js
search for
Install it in uBO (advanced settings): then use this filter:
Why is working ? because remains hunting the target class (is using
https://github.com/gorhill/uBlock/wiki/ ... rary#rcjs-
so, theoretically a filter like this
allocine.fr##+js(rc, open-modal)
should work, but .. it doesn't (because Will run only once after page load)A member of uBO team wrote his own remove-class
see here: https://raw.githubusercontent.com/uBloc ... iptlets.js
search for
rem-class.js
(abbreviated rmc
)Install it in uBO (advanced settings): then use this filter:
allocine.fr##+js(rmc, open-modal)
Why is working ? because remains hunting the target class (is using
MutationObserver
)I had already tried it before commenting, and it failed as expected.
That why I asked if you knew a better method.
I have several extensions/userscripts working with mutations observers. It's a nice feature.A member of uBO team wrote his own remove-class
...
Why is working ? because remains hunting the target class (is usingMutationObserver
)
What I thought would be a nice alternative it to have uBO intercept classList.add(), and ignore calls with a specific class as argument.
and classic solutions:
or
Code: Select all
||allocine.fr^$csp=style-src 'unsafe-inline'
Code: Select all
||assets.allocine.fr/skin/css/allocine/secondary-styles.*.css$stylesheet,domain=allocine.fr
alternative uBO-solution ( @gorhill idea )
Code: Select all
allocine.fr##html.open-modal .overlay:style(display: none !important)
allocine.fr##html.open-modal body:style(overflow: auto !important)
allocine.fr##html.open-modal body::after:style(display: none !important;)
@intense , ublock annoyance is breaking displaying : viewtopic.php?f=91&t=44701&p=154768#p154768
@intense I have found the solution, I think.
There are 2 popups driven by values in localstorage, but only if the page displayed has a referer url from the same site.
so
works
edit: aopr generates an error, aopw doesn't but works too
if you think this is safer: (empty string with apostrophes, not quotes)
There are 2 popups driven by values in localstorage, but only if the page displayed has a referer url from the same site.
so
Code: Select all
allocine.fr##+js(aopw, document.referrer)
edit: aopr generates an error, aopw doesn't but works too
if you think this is safer: (empty string with apostrophes, not quotes)
Code: Select all
allocine.fr##+js(set, document.referrer, '')
Last edited by Procyon on Thu May 21, 2020 11:40 pm, edited 1 time in total.
is there any documentation about those js(aopw), js(set) etc what they do, how to use them etc ?
@baloun ouvre l'interface de uBO, onglet "about" (le dernier, j'ai l'interface en anglais), "wiki"
Sur le wiki, dans l'index, section "dashboard / my filters" clique "Resources Library"
Sur le wiki, dans l'index, section "dashboard / my filters" clique "Resources Library"
Last edited by Procyon on Thu May 21, 2020 11:40 pm, edited 1 time in total.
merci !
It works for me.
The popups are killed, and the right panel problem is solved.
The popups are killed, and the right panel problem is solved.
ok for me too
hello the problem is back with allocine.
On firefox, i don't see the pictures (for the actors or movie pictures)
and on chrome and firefox i see big white boxes at the ad locations
and on chrome, easylist cookie doesn't prevent the cookie popup to display
On firefox, i don't see the pictures (for the actors or movie pictures)
and on chrome and firefox i see big white boxes at the ad locations
and on chrome, easylist cookie doesn't prevent the cookie popup to display
update: the problems on firefox seems to be fixed now, it was maybe a bug not related with ublock
however on chrome i still see the white blocks
however on chrome i still see the white blocks
does this work ?
Code: Select all
allocine.fr##.sticky-ad-holder
now without any change or filter added, chrome is working. Strange.
Thanks
Thanks