Commit Graph

27 Commits

Author SHA1 Message Date
Florian Bruhin 4eda626daa Merge remote-tracking branch 'origin/pr/5912' 2020-12-03 12:28:20 +01:00
rien333 872e439cd9 Increase visibility of certain elements under darkmode 2020-11-25 23:56:58 +01:00
Florian Bruhin 4f93995294 Merge remote-tracking branch 'origin/pr/5758' into master 2020-10-05 20:27:07 +02:00
rien333 7af9b81a06 Remove unnecessary definition 2020-10-01 23:32:59 +02:00
rien333 5616db64ee Define variables using let instead of var 2020-10-01 23:15:52 +02:00
rien333 2ec17db260 [readability-js] When hinting, use the URL selected via hints
Previously, this userscript always assumed the user wanted to parse
the current page. However, this meant that something like `:hint all
userscript readability-js` wouldn't work. To fix this, the script now
checks if qutebrowser is in hinting mode, and sets the page to be
processed accordingly.

An alternative solution would be to rewrite this script to rely on
`QUTE_URL`+`JSDOM.fromURL` accross the board. However, using `QUTE_HTML`
when the target page is already loaded seems faster, uses less data, and works offline.
2020-10-01 22:33:29 +02:00
Florian Bruhin a36541dab5 Merge remote-tracking branch 'origin/pr/5739' into master 2020-09-28 16:24:25 +02:00
Rijnder Wever c8bae7ac5f
remove extraneous pound sign
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2020-09-23 16:13:06 +02:00
rien333 7bbaccacf8 [readability-js] Add css styling to blockquote elements 2020-09-23 14:36:02 +02:00
rien333 a2b65b0e19 [readability-js] Add css styling to more html elements 2020-09-23 14:26:55 +02:00
Florian Bruhin a1afe0fda5 Merge remote-tracking branch 'origin/pr/5724' into master 2020-09-21 10:14:53 +02:00
rien333 4617f42415 Apply Mozilla's css-styling to images 2020-09-17 12:34:32 +02:00
Florian Bruhin 9bbe8f325d Fix lint 2020-08-07 10:41:35 +02:00
rien333 70ce48d343 whitespace 2020-08-06 20:13:48 +02:00
rien333 50ac520765 Rely on npm's version of the readability library 2020-08-06 20:08:51 +02:00
rien333 c028b7390b Add license information 2020-04-23 13:56:57 +02:00
rien333 31d32a206d readability favicon 2020-04-22 15:50:35 +02:00
rien333 bcd44cff05 Open readability page next to original tab 2020-04-22 13:13:55 +02:00
rien333 f96744509c Encode input as UTF8 2019-10-07 00:14:05 +02:00
Florian Bruhin 2b3a848352 Improve readability-js docs
See #5032
2019-09-24 19:06:55 +02:00
rien333 c203a7e2d1 typo 2019-09-15 00:54:48 +02:00
rien333 2815626f3c qoute error messages 2019-09-14 23:33:29 +02:00
rien333 a42e840c2d Check if userscripts dir exists 2019-09-14 23:32:34 +02:00
rien333 613564280a add jsdom dependency 2019-09-14 23:02:52 +02:00
rien333 5913c4c0dc use fromFile instead of fromURL 2019-09-13 23:51:48 +02:00
rien333 8e83b679fe use qutejs' bound commands 2019-09-10 13:39:43 +02:00
rien333 0254ee4081 readability userscript based on Mozilla's readility library 2019-09-10 02:03:18 +02:00