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

Export Print Styles #9

Open
ryanaltvater opened this issue Oct 9, 2015 · 2 comments
Open

Export Print Styles #9

ryanaltvater opened this issue Oct 9, 2015 · 2 comments

Comments

@ryanaltvater
Copy link

I don't know if this should be a feature request, an idea for a separate developer-targeted version, or if it's even feasible. Once you've clicked the elements you want to display for print, it would be cool to have the ability to export styles for a print stylesheet.

@Mottie
Copy link
Contributor

Mottie commented Oct 9, 2015

Hi @ryanaltvater!

It sounds great, but I think it might be troublesome to implement.

First, the bookmarklet/extension uses javascript to add a class to hide the selected element. That element may or may not have a unique identifier. And even if it did, it may be unique to an article (article ID) making it unusable for other articles on the same site.

Second, if an element doesn't have a class or id, then the code would have to resort to using something like an nth-child selector which would be unreliable is any changes were made to the site.

Lastly, the best idea would be to contact the owners of the site telling them they really need to work on their print style.

So, I'm not saying there is no way in heck this will ever happen, but I am open to ideas and feedback.

@ryanaltvater
Copy link
Author

@Mottie

Definitely all valid points. I just wanted to bring up the idea of a "point & click"-style tool that could make print stylesheets quicker, easier, and less painful to build. It's easy to envision it with a tool like this, but execution is the real question. :)

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

2 participants