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

feat: add userscript output support #12

Merged
merged 3 commits into from
Jan 22, 2022
Merged

feat: add userscript output support #12

merged 3 commits into from
Jan 22, 2022

Conversation

dylanarmstrong
Copy link
Contributor

Description

Add ability to output userscript for Safari support.

DuckDuckGo

Output style tag that hides based on [data-domain]

Google

Find the link element and go up a few parent levels and remove the element.

@dylanarmstrong
Copy link
Contributor Author

dylanarmstrong commented Jan 22, 2022

Not sure if this is inline with the project since it's not outputting a uBlock filter list. If not, let me know and I'll spin up a repo for it.

@quenhus
Copy link
Owner

quenhus commented Jan 22, 2022

Nice, I don't see any problem to merge, even though it's not a uBlock Filter. I would just like to put builds in dist/userscript/google_duckduckgo/ for consistency.

Btw, nice selector for DDG, I might use it for the uBLock Filter.

Thank you again

@dylanarmstrong
Copy link
Contributor Author

Good call, moved them into subdirectory to match

@quenhus quenhus merged commit f156358 into quenhus:main Jan 22, 2022
@quenhus
Copy link
Owner

quenhus commented Jan 22, 2022

Thanks, perfect !

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.

2 participants