forumconstruire.com

French supplemental subscription

Moderator: Liste AR & FR Mods

Locked
bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

forumconstruire.com

Post by bilan »

Hello,

J'ai compris, avec mes humbles connaissances, que le post publicitaire qui apparait en premier dans chaque thread du forum utilise la même div class que tous les autres posts MAIS était le seul avec un itemtype.

Exemple de page:

Code: Select all

https://www.forumconstruire.com/construire/topic-394400-peinture-mur-plafond-droit.php
Je propose donc cette règle:

Code: Select all

www.forumconstruire.com##.image_max_100p:not([itemtype*="http://schema.org"])
Pas sûr que ça fonctionne à tous les coups :oops: :-?
La div class est plus longue que image_max_100p et le itemtype aussi. Pour le itemtype c'est pour ça que j' ai utilisé le "*"
bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

Post by bilan »

J'utilise adguard pro et Adguard bloque bien le first post maintenant !
Je ne sais pas quelle règle does the job mais ça fonctionne.

Je vois dans les règles:

Code: Select all

forumconstruire.com##div#\32
forumconstruire.com##div[id^="bloc_discussion_"] > :first-child + div
Si vous confirmez que ce sont ces règles, pouvez-vous les ajouter à la french easylist ?
Merci
Procyon
Forum Junkie
Forum Junkie
Posts: 125
Joined: Sun Dec 01, 2019 1:35 am

Post by Procyon »

Ceci fonctionne chez moi

Code: Select all

forumconstruire.com##div.post_simple:not([itemtype])
bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

Post by bilan »

Je me trompe ou la liste FR est un peu au ralenti, voir à l'arrêt ?

Où est passé notre valeureux smed79 ? J'espère que ce n'est pas lié au covid19 et qu'il va bien.

Qui a repris la maintenance ? intense ?
intense Verified
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense Verified »

You can see here:
https://hg.adblockplus.org/listefr/

all the last commits smed79 added in the french list
bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

Post by bilan »

Ha ok thks intense.
Usually he used to be seen here, that's why I wonder.
You can push commit too ? Any chance you add the rules of this thread ?
intense Verified
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense Verified »

No. I can push commits for uBO lists.
I guess smed is still reading here, so hopefully he will add the filters.
bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

Post by bilan »

@Procyon est-ce que ton code fonctionne par exemple sur cette page:

Code: Select all

https://www.forumconstruire.com/construire/topic-395642-renseignement-parametre-chauffeau.php
On dirait que depuis quelques jours ils mettent un itemtype aussi sur le premier post. Non ? Tu as une idée ?

@intense can you add it on uBO list when it will be fixed ? How to apply modifications on uBO list other than asking u here ?
intense Verified
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense Verified »

bilan
Site Member
Site Member
Posts: 39
Joined: Sat Jul 25, 2015 11:27 am

Post by bilan »

It works perfectly. It's fascinating how you so easily find the correct matching syntax. It looks so complicated for me :oops:
Thank you.
Procyon
Forum Junkie
Forum Junkie
Posts: 125
Joined: Sun Dec 01, 2019 1:35 am

Post by Procyon »

@bilan je confirme que sur l'autre page l'annonce n'est pas cachée.
Je vais voir ce que je peux faire... :)
Procyon
Forum Junkie
Forum Junkie
Posts: 125
Joined: Sun Dec 01, 2019 1:35 am

Post by Procyon »

Voici quelque chose qui fonctionne:

Code: Select all

forumconstruire.com##div.post_simple_contener > .post_simple > .postsimple_post_cell > .postsimple_message_cell:last-child:nth-ancestor(2)
@intense I don't know if ":nth-ancestor()" is widely supported outside uBO.

I have an alternative. Ads have an id starting with "1587" and have currently 10 digits. Normal posts don't (7 digits).

Code: Select all

forumconstruire.com##div.post_simple_contener[id^="1587"]
intense Verified
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense Verified »

No, the "classic" adblockers (abp, ab) don't support nth-ancestor (which was deprecated replaced by upward).
However, the filter I already added (see above) is supported (using abp syntax) by other adblockers.
Procyon
Forum Junkie
Forum Junkie
Posts: 125
Joined: Sun Dec 01, 2019 1:35 am

Post by Procyon »

OK, I missed your fix while focusing on bilan's message. ;)
User avatar
smed79 Verified
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 Verified »

bilan wrote: Sat Apr 11, 2020 9:29 ampost publicitaire qui apparait en premier dans chaque thread du forum
Ajouté https://hg.adblockplus.org/listefr/rev/aeddf9856e69 & https://hg.adblockplus.org/listefr/rev/85850bd253ea
bilan wrote: Mon Apr 20, 2020 6:27 pmhow you so easily find the correct matching syntax
référez vous à
abp https://help.eyeo.com/en/adblockplus/ho ... -emulation
ubo https://github.com/uBlockOrigin/uBlock- ... ic-filters
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
Locked