Y-marker

Sets up keyboard shortcuts for placing bookmarks and navigation inside webpage.

Autor
trespassersW
Denně instalací
0
Celkem instalací
118
Hodnocení
8 0 0
Verze
16.03.04
Vytvořeno
31. 03. 2014
Aktualizováno
04. 03. 2016
Licence
MIT
Spustit na
všech stránkách
  You can save current position in displayed webpage using shortcuts Shift-Alt-0‥9; later, you may return to saved position by pressing Alt -0‥9. Markers created in this way are kept in browser's persistent memory and they will be restored next time you open the page.

screenshot

NOTES:

  • Before jumping to marker the script stores the current page position, so you can get back by pressing Alt-minus (that on the right of zero.)
  • When you open webpage the script tries to restore previously saved position #0.
  • Positions are calculated in screen's pixels, so if you alter zoom factor, or text column width, or something else, markers may become invalid
  • press Alt-Shift-0   twice to set starting Y-position for any page in the whole domain
  • click on pop-up message at top-right corner to remove all markers for current webpage.  
  • You can change script's keyboard shortcuts using GreaseMonkey menu:
    User Script CommandsY-marker hotkeys

    (I use Win key - it seems working on any site.)
  • you can control the script through bookmarklets:
    javascript:postMessage('Y-marker0','*')
    - jump to bookmark #0;
    javascript:postMessage('Y-marker0=','*')
    - set up bookmark #0.


16.03.04 * bookmarklets work in chrome
browsers

© trespassersW