user:js/popupBookmarks

{{user:js/

|skins = Monobook, Myskin, Chick, Simple

|languages = *

|developer = AlexSm

|released = {{release date|2008|03|07}}

}}

Script adds a bookmarks link next to log out link at the top of the window. The link pops up a window with your bookmarks stored on your user subpage.

Demo without installation: copy this to browser address field and press Enter:

:

javascript:importScript('user:js/popupBookmarks.js');void 0

Installation:

:

importScript('user:js/popupBookmarks.js')

Configuration (defaults are in parenthesis):

  • myBkmPage ('/Bookmarks') — the page with your bookmarks, leading «/» means your user subpage, otherwise it's a full page name
  • myBkmPlace ('p-personal')HTML id where to put the link
  • if it's a portlet, th link will be added to the end of this portlet
  • otherwise the script will use this element as a link
  • myBkmShowOnHover (0) — how to call the popup
  • 0 — clicking on the link
  • 2 — by hovering mouse
  • 1 — both
  • myBkmHideOnHover (0) — how to hide the popup:
  • 0 — clicking on the popup
  • 2 — by moving mouse away
  • 1 — both
  • myBkmNewWin (false) — open bookmarks in new windows

Note: the script works, but most likely will not be maintained or updated.

ru:user_talk:Alex Smotrov/bookmarks.js