plugins.xml

using-plugins
Using Plugins

Contents

  1. Browser Consistency Improvements
  2. Curl command-line generator
  3. Flash Blocker
  4. HTTP header info
  5. jQuery integration
  6. JavaScript completion enhancements
  7. NoScript integration
  8. Tab options
  9. User Agent Switcher
  10. XPCOM development

browser-improvements-plugin
Browser Consistency Improvements

Plugin:
browser-improvements
Version:
0.1
Author:
Kris Maglione
License:
MIT

This plugin provides various browser consistency improvements, including:

curl-plugin
Curl command-line generator

Plugin:
curl
Version:
0.2
Author:
Kris Maglione
License:
MIT

This plugin provides a means to generate a curl(1) command-line from the data in a given form.

;C
;C

Generates a curl command-line from the data in the selected form. The command includes the data from each form element, along with the current User-Agent string and the cookies for the current page.

flashblock-plugin
Flash Blocker

Plugin:
flashblock
Version:
1.0.11
Author:
Kris Maglione
License:
MIT

This plugin provides the same features as the ever popular FlashBlock Firefox add-on. Place holders are substituted for flash animations and embedded videos. When clicked, the original embedded content is restored. Additionally, this plugin provides options to control which sites can play animations without restrictions and triggers to toggle the playing of animations on the current page.

'fb''flashblock'
'flashblock' 'fb'

boolean(default: true)

Controls the blocking of flash animations. When true, place holders are substituted for flash animations on untrusted sites.

'fbw''fbwhitelist'
'fbwhitelist' 'fbw'

sitelist(default: (empty))

Controls which sites may play flash animations without user intervention. See :mkpentadactylrc.

:flashplay:flp
:flashplay

Plays any blocked flash animations on the current page.

:flashstop:fls
:flashstop

Stops any currently playing flash animations on the current page.

:flashtoggle:flt
:flashtoggle

Toggles the playing of all animations on the current page. If any flash animations are currently blocked, all may begin playing. Otherwise, all animations are stopped.

http-headers-plugin
HTTP header info

Plugin:
http-headers
Version:
0.4
Author:
Kris Maglione
License:
MIT

Adds request and response headers to the :pageinfo command, with the keys h and H respectively. See also 'pageinfo'.

:pageinfo hH

jQuery-plugin
jQuery integration

Plugin:
jQuery
Version:
1.5.1
Author:
Kris Maglione
Author:
John Resig
Author:
Dojo Foundation
License:
MIT
License:
BSD

This plugin provides basic jQuery integration. With it enabled, jQuery's $ function is available for any web page, with the full power of jQuery. It also provides $w, $d, and $b objects which refer to the the content window, document, and body respectively.

jscompletion-plugin
JavaScript completion enhancements

Plugin:
jscompletion
Version:
1.0.1
Author:
Kris Maglione
License:
BEER-WARE

This plugin provides advanced completion functions for DOM functions, eval, and some other special functions. For instance, :js content.document.getElementById("<Tab> should provide you with a list of all element IDs present on the current web page. Many other DOM methods are provided, along with their namespaced variants.

noscript-plugin
NoScript integration

Plugin:
noscript
Version:
0.7
Author:
Kris Maglione
License:
MIT

This plugin provides tight integration with the NoScript add-on. In addition to commands and options to control the behavior of NoScript, this plugin also provides integration with both the Pentadactyl and Firefox sanitization systems sorely lacking in the add-on itself. Namely, when data for a domain is purged, all of its associated NoScript permissions are purged as well, and temporary permissions are purged along with session data.

Note: As most options provided by this script directly alter NoScript preferences, which are persistent, their values are automatically preserved across restarts.

'script''noscript'
'script'

boolean(default: noscript)

When on, all sites are allowed to execute scripts and load plugins. When off, only specifically allowed sites may do so.

'nsf''noscript-forbid'
'noscript-forbid'

stringlist(default: (empty))

The set of permissions forbidden to untrusted sites.

bookmarklet
Forbid bookmarklets
collapse
Collapse forbidden objects
flash
Block Adobe® Flash® animations
fonts
Forbid remote font loading
frame
Block foreign <frame> elements
iframe
Block foreign <iframe> elements
java
Block Java™ applets
media
Block <audio> and <video> elements
placeholder
Replace forbidden objects with a placeholder
plugins
Forbid other plugins
refresh
Block <meta> page directions
silverlight
Block Microsoft® Silverlight™ objects
trusted
Block media and plugins even on trusted sites
webbug
Block “web bug” tracking images
xslt
Forbid XSLT stylesheets

See also 'noscript-objects'.

'nsl''noscript-list'
'noscript-list'

stringlist(default: (empty))

The set of items to show in the main completion list and NoScript menu.

address
Show the full address (http://www.google.com)
base
Show the base domain (google.com)
full
Show the full domain (www.google.com)
'nso''noscript-objects'
'noscript-objects'

stringlist(default: (empty))

The list of objects which allowed to display. See also 'noscript-forbid'.

'nss''noscript-sites'
'noscript-sites'

stringlist(default: (empty))

The list of sites which are permanently allowed to execute scripts.

'nst''noscript-tempsites'
'noscript-tempsites'

stringlist(default: (empty))

The list of sites which are temporarily allowed to execute scripts. The value is not preserved across application restarts.

'nsu''noscript-untrusted'
'noscript-untrusted'

stringlist(default: (empty))

The list of untrusted sites which are not allowed to activate, nor are listed in the main completion lists or NoScript menu.

tab-options-plugin
Tab options

Plugin:
tab-options
Version:
0.3
Author:
Kris Maglione
License:
BEER-WARE

Adds extended tab options, including relative placement of new tabs and more sensible focus changes after tab closure.

'tc''tabclose'
'tabclose' 'tc'

stringlist(default: left,opener,previous,right)

Tab closure options, in order of precedence. The first item for which a valid tab exists is used.

left
Select the tab to the left when closing
opener
Select the tab’s opener, if available
previous
Select the previously selected tab
right
Select the tab to the right when closing
'to''tabopen'
'tabopen' 'to'

stringmap(default: link:right,orphan:groupright,external:end)

New tab placement options. The keys in the stringmap refer to the ways the tab was opened, while the values define where such tabs are placed. The following keys are applicable:

external
Tabs opened from an external application
link
Tabs opened by clicking links and the like
orphan
Tabs opened by any other means

As are the following values:

end
Open new tabs at the end of the tab bar
groupleft
Open tabs to the left of the current group
groupright
Open tabs to the right of the current group
left
Open new tabs to the left of the current tab
right
Open new tabs to the right of the current tab
start
Open new tabs at the start of the tab bar

useragent-plugin
User Agent Switcher

Plugin:
useragent
Version:
0.2
Author:
Kris Maglione
License:
MIT

Ths plugin allows you to switch the browser's reported user-agent to a number of preset values.

:ua:useragent
:useragent [name] [useragent]

With zero or one arguments, list the currently defined user-agent values.

With two arguments, defines a new user-agent for use in the 'useragent' option. When 'useragent' is set to [name], the User-Agent value sent to web servers, and the value returned by navigator.userAgent will be [useragent]. Additionally, the following options are available:

-appcodename
The value of navigator.appCodeName
-appname
The value of navigator.appName
-appversion
The value of navigator.appVersion
-platform
The value of navigator.platform
-vendor
The value of navigator.vendor
-vendorsub
The value of navigator.vendorsub
:deluseragent:delua
:deluseragent {name}

Deletes a useragent created by :useragent.

'useragent''ua'
'useragent' 'ua'

string(default: default)

Changes the User-Agent string sent to the web server and returned by navigator.userAgent. If the value is the name of a user-agent defined by :useragent, or one of the predefined values, then the defined value is used. Otherwise, the value itself is used.

xpcom-plugin
XPCOM development

Plugin:
xpcom
Version:
0.3
Author:
Kris Maglione
License:
MIT

This plugin aids in the development of XPCOM-related code, and in the exploration of extant XPCOM interfaces, classes, and instances. All of the functions herein are exported to the userContext and are thus available from the :javascript command. Each of these functions provides JavaScript completion for its arguments.

xpwrapper
xpwrapper({instance}, [interface])
xpwrapper({string})

This function is the core of the plugin. It wraps XPCOM objects so that their properties are more easily accessible. When {instance} alone is given, the result contains one property for each interface that {instance} implements. Each of those properties, in turn, returns {instance} wrapped in a call to

xpwrapper({instance}, {interface}),
which contains only the properties of {instance} specified in {interface}. Additionally, the one-argument form contains the properties all and wrappedJSObject, the former of which returns an object that implements all interfaces provided by the instance, and the latter of which, when applicable, is the raw JavaScript object that backs the XPCOM instance.

When {string} is provided rather than an XPCOM instance, the returned object contains all of the properties specified by the interface with the given name, each with an undefined value.

xpclasses
xpclasses({class})
xpclasses({string})

When given an XPCOM instance as its first argument, the result is exactly the same as the one argument form of xpwrapper. When given a string, returns the xpwrapper for an instance of the provided XPCOM contract ID.

xpproviders
xpproviders

Presents, for each installed interface, a property for each class that provides that interface. The properties on both levels are lazily instantiated, so iterating over the values of either level is not a good idea.

xpservices
xpservices({class})
xpservices[{class}]

An object containing an xpwrapper wrapped service for each contract ID in Components.classes.