alexadam / save-as-ebook

Save a web page/selection as an eBook (.epub format) - a Chrome/Firefox/Opera Web Extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically apply 'Custom Style' for matching URL

asifm91 opened this issue · comments

Thanks to the 'Custom Style' feature, I can export just the portion of a page I need. However, it is not applied automatically and I have to click on 'Apply' every time for each page. This is really inconvenient and tedious when I'm exporting multiple pages (as chapters). I think custom styles should be applied by default, at least for pages that match the regex.
Alternatively, adding a check box similar to 'Include Style' should do the trick.

commented

This seems to have been implemented, but sometimes (for example for medium.com articles) I would like to have the comments included in my epub, because they are interesting. The default stylesheet filters them out, which is fine, but if I now create a copy that doesn't filter comments, it has to have the same regex, and I cannot switch between which stylesheet I want to apply..
Could perhaps the stylesheet box be included again, but perhaps filled only with the matching regex options? Or if it's easier, all stylesheets listed again, but with the first one matching the regex preselected, so the quick 'save' action already applies a good default?