Skip to content

[bug] Web Plugin: Avoid known blocked id's/classes. #9

@Malvoz

Description

@Malvoz

Adblockers (in this case: https://getadblock.com/) inject stylesheets, setting the display property to none for certain CSS selectors.

The Pollfish Web Plugin is affected by this stylesheet injection. The injected style: gdpr:not(body):not(html) { display: none !important } makes the entire element that wraps the "I agree" button (start survey) invisible to the users as shown below:

pollfish-blocked
.

While there are alot of filters, the one that includes the blocking style comes from:
https://easylist-downloads.adblockplus.org/fanboy-annoyance.txt

As an exmaple, changing the Web Plugin's gdpr class to gdpr-info makes the content visible again.


I also tested the web plugin with uBlock Origin with no issues, as far as I can tell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions