Commit Graph

242 Commits

Author SHA1 Message Date
Florian Bruhin 1a4fff1a42 doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
Florian Bruhin 222f1f19a1 Bump copyright years
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin 25afb200ed Rename :enter-mode and :leave-mode
See #6022
2021-01-20 18:19:03 +01:00
Florian Bruhin 909bfff3ce Merge remote-tracking branch 'origin/pr/6016' 2021-01-05 19:49:46 +01:00
rien333 4cc61c5182 [readability-js] horizontally align codeblock contents
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
2021-01-05 14:12:14 +01:00
rien333 2eb6db1a75 sync 2021-01-05 14:10:56 +01:00
rien333 851474efc7 [readability-js] horizontally align codeblock contents
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
2021-01-05 14:05:11 +01:00
geeseven 576de1aa18 clean up URL encoding 2021-01-02 07:39:47 -06:00
geeseven 6ade0c3bd4 encode URL when checking if it has been bookmarked
URLs with '#' were not getting identified correctly when getting checked.  Encoding the URL fixes this.
2021-01-02 06:29:54 -06:00
Florian Bruhin cd9c701a1b Update docs 2020-12-22 14:17:34 +01:00
Florian Bruhin 52af93eb53 Merge remote-tracking branch 'origin/pr/5939' 2020-12-22 14:16:47 +01:00
Florian Bruhin 4a541f6840 Merge remote-tracking branch 'origin/pr/5972' 2020-12-22 13:26:09 +01:00
Florian Bruhin b7d1c4079d Simplify and fix lint 2020-12-22 12:38:06 +01:00
Timothy DeHerrera 3284ec900e
Fix gopass mime format for qute-pass userscript 2020-12-21 02:50:55 -07:00
user202729 2d5f088025 Fix qute-lastpass userscript enters text containing multiple < 2020-12-17 14:37:11 +07:00
geeseven 6f9d5bf433 add add-nextcloud-cookbook userscript 2020-12-08 13:02:41 -06:00
geeseven a1e8921e9b fix URL 2020-12-08 12:55:00 -06:00
geeseven 4539bc1f63 typo and clean up per review in #5939 2020-12-06 13:22:59 -06:00
geeseven bce8f21127 add add-nextcloud-bookmarks userscript 2020-12-06 13:20:32 -06:00
Florian Bruhin 4eda626daa Merge remote-tracking branch 'origin/pr/5912' 2020-12-03 12:28:20 +01:00
Florian Bruhin e07611fc31 Enforce /usr/bin/env shebangs in userscripts
See https://github.com/qutebrowser/qutebrowser/discussions/5927#discussioncomment-145322
2020-12-03 11:09:20 +01:00
Florian Bruhin fcbab8275d Fix typos in kodi userscript 2020-12-03 10:48:04 +01:00
geeseven 45dd84e6c8 add kodi userscript 2020-12-02 19:21:13 -06:00
Florian Bruhin 6c42f97781 Add QR userscript 2020-12-02 10:41:36 +01:00
Florian Bruhin 5e48fa1d1c doc: Add 1password userscript 2020-11-29 22:43:47 +01:00
rien333 872e439cd9 Increase visibility of certain elements under darkmode 2020-11-25 23:56:58 +01:00
Florian Bruhin dad3a687ed Merge remote-tracking branch 'origin/pr/5827' 2020-11-20 10:17:48 +01:00
generaldenmark aacc68a743 Fix qutedmenu, the same way as dmenu_qutebrowser was fixed, and applies the change requests made by @The-Compiler 2020-11-13 23:07:16 +01:00
Florian Bruhin 2fc1d19f1f doc: Add doi userscript 2020-11-05 19:32:32 +01:00
Asger Geel Weirsøe b6bc90c9c3
Removes empty line at end of file 2020-10-22 14:45:21 +02:00
Asger Geel Weirsøe c5d5197b01
Re-adding history to dmenu_qutebrowser userscript
As there is not a file called history to cat from in $QUTE_DATA_DIR, but instead a sqlite file called history.sqlite.
Thus I changed this for sqlite3 and an inline query on the history table, extracting distinct urls. And with fprint and cat piping them into dmenu,
the rest works as always.
2020-10-22 13:50:03 +02: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 14d01ca5e8
Merge pull request #5757 from Aledosim/master
Added qute-snippets to Others section of userscripts README.md
2020-10-01 19:43:28 +02:00
Aledosim bf088ba5e1 Added qute-snippets to Others section of userscripts README.md 2020-10-01 10:39:23 -03: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
Joakim Klevmo Hansen c79c34d3e0 Access qute-pass arguments directly and expand all paths 2020-09-18 11:26:15 +02:00
Joakim Klevmo Hansen f6dd664a1e Keep existing env vars when specifying PASSWORD_STORE_DIR 2020-09-18 09:51:44 +02:00
Joakim Klevmo Hansen cba060a551 Specify 'PASSWORD_STORE_DIR' when invoking pass from qute-pass 2020-09-18 09:28:34 +02:00
rien333 4617f42415 Apply Mozilla's css-styling to images 2020-09-17 12:34:32 +02:00
Florian Bruhin a78442bb67 Rewrite file collection in misc_checks.py
Now collects all (non-ignored) files via `git ls-files` and only skips
some binary formats.

Also adds some type annotations and fixes some newly unconvered
UK-spellings.
2020-09-06 17:23:03 +02:00
Florian Bruhin 3abfd78c25 Fix some a/an spelling mistakes 2020-09-06 16:37:59 +02:00
Sebastian Schulze c713522c8a
Fix gopass 1.10.x deprecation in qute-pass userscript
Since gopass 1.10, reading secrets via "gopass <secret-name>" will yield a deprecation
warning which _run_pass() will stumble over. As it turns out - even "pass" can be called
with "pass show <secret-name>", so the fix will be compatible with both gopass and pass.

Refs #5690
2020-08-26 21:52:54 +02:00
Jan Knížek 063b8810ab FIX doc userscript qute-pass 2020-08-07 16:39:55 +02:00