Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update la-provence.js #254

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Update la-provence.js #254

merged 1 commit into from
Sep 3, 2024

Conversation

Altonss
Copy link
Contributor

@Altonss Altonss commented Sep 3, 2024

Fixes #253 : button now displays well on Firefox, but somehow on my Europresse no articles of La Provence seem available.

@Write
Copy link
Collaborator

Write commented Sep 3, 2024

Hello, merci de ton PR.

Cela semblerait plus efficient de check la balise en bas de page

if (document.querySelector('.rev-locker-premium-content')) { console.log("premium") }

Sauf indication contraire ?

@Write Write merged commit c712167 into lovasoa:master Sep 3, 2024
1 check passed
@Write
Copy link
Collaborator

Write commented Sep 3, 2024

Ok, comme la fonction a double usage, je valide. Je ne pensais qu'à la partie "Vérification si l'article est premium".

@Altonss Altonss deleted the laprovence branch September 3, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Bouton `Lire sur Europresse' ne s'affiche plus sur La Provence
2 participants