1. run jseval in main world: the script adds an element that calls the
`restore_video` function. This was failing with a "not found" message
on webengine, presumably because the dom click handler runs in the
main world and the function was over in the jseval world. The the
script predates webengine which is the backend that implements the
worlds.
2. remove a console log message, seems to be just noise and easy enough
to add back later
3. remove href attribute of the restore video link: this seemed to be
causing the `restore_video` method to be called twice. The second
time with `this` as the global Window object, which was causing an
error because that has a null `parentNode` attribute.
4. added the `cursor: pointer` style that was needed since the element
didn't have an href anymore
5. change the mpv flags `--terminal` -> `--quiet`. This means we get
error messages (eg from yt-dlp) in error logs and in the `:process`
page now. It can get a bit spammy though if you are running from a
terminal. I'm getting a log of keepalive warning and error logs from
ffmpeg. On the other hand it's really annoying to see a "process
failed, see :process for details" and having no error messages in
there.
Fixes: #7838
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| README.md | ||
| add-nextcloud-bookmarks | ||
| add-nextcloud-cookbook | ||
| cast | ||
| dmenu_qutebrowser | ||
| format_json | ||
| getbib | ||
| kodi | ||
| open_download | ||
| openfeeds | ||
| password_fill | ||
| qr | ||
| qute-1pass | ||
| qute-bitwarden | ||
| qute-keepass | ||
| qute-keepassxc | ||
| qute-lastpass | ||
| qute-pass | ||
| qutedmenu | ||
| readability | ||
| readability-js | ||
| ripbang | ||
| rss | ||
| taskadd | ||
| tor_identity | ||
| view_in_mpv | ||
README.md
Userscripts
The following userscripts are included in the current directory.
- cast: Cast content on your Chromecast using castnow. Only youtube-dl downloadable content.
- dmenu_qutebrowser: Pipes history, quickmarks, and URL into dmenu.
- format_json: Pretty prints current page's JSON code in other tab.
- getbib: Scraping the current web page for DOIs and downloading corresponding bibtex information.
- open_download: Opens a rofi menu with all files from the download directory and opens the selected file.
- openfeeds: Opens all links to feeds defined in the head of a site.
- password_fill: Find a username/password entry and fill it with credentials given by the configured backend (currently only pass) for the current website.
- qute-keepass: Insertion of usernames and passwords from keepass databases using pykeepass.
- qute-keepassxc: Insert credentials from open KeepassXC database using keepassxc-browser protocol.
- qute-pass: Insert login information using pass and a dmenu-compatible application (e.g. dmenu, rofi -dmenu, ...).
- qute-lastpass: Similar to qute-pass, for Lastpass.
- qute-bitwarden: Similar to qute-pass, for Bitwarden.
- qute-1pass: Insert login information using onepassword and rofi.
- qutedmenu: Handle open -s && open -t with bemenu.
- readability: Executes python-readability on current page and opens the summary as new tab.
- readability-js: Processes the current page with the readability library used in Firefox Reader View and opens the summary as new tab.
- ripbang: Adds DuckDuckGo bang as searchengine.
- rss: Keeps track of URLs in RSS feeds and opens new ones.
- taskadd: Adds a task to taskwarrior.
- tor_identity: Change your tor identity.
- view_in_mpv: Views the current web page in mpv using sensible mpv-flags.
- qr: Show a QR code for the current webpage via qrencode.
- kodi: Play videos in Kodi.
- add-nextcloud-bookmarks: Create bookmarks in Nextcloud's Bookmarks app.
- add-nextcloud-cookbook: Add recipes to Nextcloud's Cookbook app.
Others
The following userscripts can be found on their own repositories.
- qurlshare: secure sharing of a URL between qutebrowser instances using a distributed hash table.
- qutebrowser-userscripts: a small pack of userscripts.
- qutebrowser-zotero: connects qutebrowser to Zotero standalone.
- qute.match: execute script based on visited url.
- qutepocket: Add URL to your Pocket bookmark manager.
- qb-scripts: a small pack of userscripts.
- instapaper.zsh: Add URL to your Instapaper bookmark manager (original repository by dmcgrady vanished).
- qtb.us: small pack of userscripts.
- pinboard.zsh: Add URL to your Pinboard bookmark manager.
- qute-capture: Capture links with Emacs's org-mode to a read-later file.
- qute-code-hint: Copy code snippets on web pages to the clipboard via hints.
- Qute-Translate: Translate URLs or selections via Google Translate.
- qute-snippets: Bind text snippets to a keyword and retrieve they when you want.
- doi: Opens DOIs on Sci-Hub.
- qute-1password: Qutebrowser userscript to fill 1password credentials
- 1password: Integration with 1password on macOS.
- localhost: Quickly navigate to localhost:port. For reference: A quicker way to reach localhost with qutebrowser
- untrack-url, convert various URLs (YouTube/Reddit/Twitter/Instagram/Google Maps) to other services (Invidious, Teddit, Nitter, Bibliogram, OpenStreetMap).
- CIAvash/qutebrowser-userscripts, various small userscripts written in Raku.
- bitwarden-rofi, rofi wrapper for bitwarden cli interface using gpg instead of keyctl.
- yomichad: Japanese pop-up dictionary for looking up readings and definitions of currently selected words, kanji and names
- ~palb91/qutescripts: A list of
personal userscripts for qutebrowser (
domcycle: settings per domain,gitclone,jsdownload: smart download, andsubstiqute: bash-like url substitution) - pseudo per domain stylesheets: Userscript for generating url restricted greasemonkey scripts to apply user styles.
- qute-containers: A simple interface to manage browser containers by manipulating the basedir parameter.
- qutebrowser-metascript: A user configurable arbitrary sequential command running userscript for qutebrowser
- tab-manager: More powerfully manage single window sessions
- qutebrowser-url-mutator: automatically mutates input URLs based on configurable rules