Jump to content

User:Parkerdr/linkpad

From Wikipedia, the free encyclopedia

Purpose

[edit]

This purpose of this script is to provide a linkpad feature to your browser. A linkpad is an area where links to Wikipedia pages may be stored in the short term, for easy access, without having to store the links in the browser's favorite's list.

Description

[edit]

This script User:Parkerdr/linkpad.js creates a new portlet underneath the toolbox portlet, with an [add] command and a [delete] command.

add

[edit]

There are three ways to add a link to the linkpad

  1. Double clicking on the [add] command adds a link to the current page.
  2. Dragging a link from the current page to the [add] command adds that link to the linkpad.
  3. alt-clicking(windows) or option-clicking (mac) on a link in the page body adds that link to the linkpad.

delete

[edit]

Double clicking on the [delete] command clears all links from the linkpad. Dragging a link from the linkpad to the [delete] command deletes that link from the list.

Installation

[edit]

Append this line to your your monobook.js:

importScript('user:Parkerdr/linkpad.js')

This will add a linkpad portlet to your sidebar.

There are no parameters or settable options in this script.