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

Nice instruction for whitelist/blacklist functionality #274

Open
liorsbg opened this issue Oct 5, 2016 · 2 comments
Open

Nice instruction for whitelist/blacklist functionality #274

liorsbg opened this issue Oct 5, 2016 · 2 comments

Comments

@liorsbg
Copy link
Contributor

liorsbg commented Oct 5, 2016

Maybe with a nice example page? graphics?

┆Issue is synchronized with this Asana task

@liorsbg liorsbg added this to the Stylebook.de Launch milestone Oct 5, 2016
@liorsbg
Copy link
Contributor Author

liorsbg commented Oct 11, 2016

An MVP of this is Critical.

@iddan
Copy link

iddan commented Oct 31, 2016

<script
    data-whitelist="<classname>[, <classname>[n]]"
    data-blacklist="<classname>[, <classname>[n]]"
></script>

example: stylebook.de's current blacklist

<script data-blacklist=".videoPlayer, .rotatingTeaser, .OUTBRAIN"></script>
  1. Selects elements by the selectors of the whitelist (default is all the elements a.k.a *)
  2. Eliminates descendants of blacklist selectors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants