How to control NoScript via Vimperator in Firefox

noscript-logo.png

While Vimperator offers already lots of cool features, the vimperator team cannot be expected to include every feature directly in the core. But they allow their users to enhance the Vimperator experience by adding plugins which add new commands or mappings.  You can install  plugins by copying them to the ~/.vimperator/plugin/ directory.

NoScript , being a separate extension in itself, doesn’t have any controls natively within vimperator.  So what we can do is get the following script ; (http://vimperator.org/trac/raw-attachment/ticket/1/noscript.js )  and place it in our ~/.vimperator/plugin/ directory.

The usage is rather simple:

:noscript info        Shows noscript info for the current page.
:noscript popup       Opens the noscript popup.
:noscript toggletemp  Toggles scripts temporarily on current page.
:noscript toggleperm  Toggles scripts permanently on current page.

when the noscript popup is open, you can scroll through the items using the following standard vimperator key bindings:

j  move down one
k  move up one
l  open the sub-menu
h  close the sub-menu
g  jump to the first item in the menu
G  jump to the last item in the menu

Related Posts

Comments are closed.