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

Ability to add custom CSS or JS #27

Open
fadeouter opened this issue Oct 18, 2017 · 3 comments
Open

Ability to add custom CSS or JS #27

fadeouter opened this issue Oct 18, 2017 · 3 comments
Assignees
Milestone

Comments

@fadeouter
Copy link

Some websites, like Tumblr, hasn't mobile layout for small screens. Ability to add custom CSS code could fix this.
Also, CSS injection useful for ad blocking purposes.

@Jujuyeh
Copy link
Owner

Jujuyeh commented Oct 18, 2017

We will discuss this. 😄

I think uAdBlock already blocks adds from the browser and webapps.

@fadeouter
Copy link
Author

Adblocking isn't main purpose of this feature. uAdBlock cannot remove DOM elements. CSS injecting can.
Main purpose of this is to add ability to use more websites as a real apps. As I mentioned early, not all websites have mobile layout.

@mateosalta
Copy link
Collaborator

Yes this is possible, I've done a userstyle.js on the youtube web app - we could add the relevant code to the ogra container and do a file selection for the js. Should work well enough if you already have something in mind to insert.

@mateosalta mateosalta self-assigned this Nov 21, 2017
@mateosalta mateosalta added this to the 1.5 milestone Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants