8000 GitHub - piperfw/extensions: Handy browser scripts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

piperfw/extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extensions

Handy browser scripts for chrome and qutebrowser

Contents

Chrome

doiselected

Looks for a valid doi object in the current selection (PRIMARY) and navigates to the associated url. If the selection is empty, or no valid doi string is found, the text from the current webpage is searched.

The default keybinding is Ctrl+Shift+2. Alternatively, click on the extension's icon in the toolbar.

ezprozy

Inserts .ezproxy.institution-domain-name into the current url and reloads the page.
The default keybinding is Ctrl+Shift+1. Alternatively, click on the extension's icon in the toolbar. The initial value of institution-domain-name is st-andrews.ac.uk. To change this, edit the variable institutionDomain in background.js and ezproxy.js.

qutebrowser

continuoushinting

Replicates the Ctrl+Click behaviour of a mouse on links with keyboard hints. To use this extension, both starthinting and keephinting scripts must be placed in your userscript directory. Then, to start a continuous chain of hints on the current page use :spawn --userscript starthinting. Press escape when you want to stop hinting.

doiselected

Looks for a valid doi object in the current selection (PRIMARY) and navigates to the associated url. If the selection is empty, or no valid doi string is found, the current webpage is searched. A suggested key binding is zd. This script is written in python3.

ezproxy

Inserts .ezproxy.institution-domain-name into the current url and reloads the page. Suggested key bindings are ze or ez. Your institution's domain name should be set in ezproxy. This script is written in bash and uses sed.

Installation

Chrome / Chromium

Navigate to chrome://extensions. Switch on developer mode using the slider in the top right hand corner. Click 'Load unpacked' and select the extension-name/chrome directory (this should be placed somewhere 'safe' i.e. permanent on your filesystem). Key bindings can be adjusted from chrome://extensions/shortcuts.

qutebrowser

Make extension-name/qutebrowser/script-name executable (chmod +x) and either place this file in ~/.local/share/qutebrowser/userscripts and evoke in qutebrowser with :spawn --userscript script-name or simply evoke with an absolute path e.g. :spawn --userscript /home/user/extensions/extension-name/qutebrowser/script-name. Key bindings can be set in qutebrowser's config.py file in the usual way.

About

Handy browser scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0