Y-marker

save/restore webpage scroll Y position

La data de 02-04-2014. Vezi ultima versiune.

Autor
trespassersW
Rating-uri
0 0 0
Versiune
1.2.3
Creat
31-03-2014
Actualizat
02-04-2014
Size
4,89 KB
Licență
CC0 1.0 Universal (CC0 1.0)
Se aplică pe
Toate site-urile

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

You can save current position in displayed webpage using shortcuts Shift-Alt-09;
later, you may return to saved position by pressing Alt -0‥9.
————————
[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
  • You are free to change script's keyboard shortcuts by editing lines 25-26 in source code. For example:

    var kJump = kWin; /* win-digit for jump */
    var kMark = kWin+kShift; /* win-shift-digit for mark */


    or even so:

    var kJump = 0; /* just hit a digit key to jump */
    var kMark = kShift; /* and shift+digit to mark */

————————
browsers
————————
(CC0 1.0) trespassersW