ActiveX Bookmarklets

It is possible to instantiate ActiveX objects (such as MS-Office applications) through Javascript. These bookmarklets do just that. They only work in Internet Explorer for Windows, and I wrote them mostly for experimental purposes, but maybe you can find some use for them anyway.

Note that ActiveX objects are not considered to be safe for scripting. This means that the IE security setting "Initialize and script ActiveX controls not marked as safe" must be set to "Enable" or "Prompt"; otherwise the ActiveX object cannot be created. Since this is an important security setting I recommend you use "Prompt", or you only use the bookmarklets on pages that have been added to your trusted sites. If you don't know what I'm talking about, don't use these bookmarklets.

Alternatively, only use the bookmarklets on sites belonging to the "Trusted Sites" domain.

To use a bookmarklet, simply click the link (or, if you use Explorer, drag it to another browser window).

To save the bookmarklet, add it to your favorites/bookmarks or drag the link to your desktop. If you use Explorer or Opera you can import all the bookmarklets in one easy operation.

Bookmarklet Works in frames Browser support
Tables to Excel
Copies the content of all tables with at least 2 rows and 2 columns into a new Excel workbook.

Example: Try the bookmarklet on this page. It will open two or three new workbooks.

Explorer: Tables to Excel
Last upd. 14 Nov. 2003
No Works in Internet Explorer 5.5 and later
Excel Colors
Shows the 56 Excel standard colors and their indexes.

Explorer: Excel Colors
Last upd. 14 Nov. 2003
Yes Works in Internet Explorer 5.5 and later
Page to Word
Copies the current page to Word in HTML format. It does so by sending Ctrl+A and Ctrl+C keys, effectively copying the page through the clipboard.

Explorer: Page to Word
Last upd. 15 Dec. 2003
No Works in Internet Explorer 5.5 and later
List Root Folders
Lists the folders and files found at the root of your harddrive(s).

Explorer: List Root Folders
Last upd. 28 Nov. 2004
Yes Works in Internet Explorer 5.5 and later
List Printers
Lists printers connected to your system.

Explorer: List Printers
Last upd. 8 Jan. 2004
Yes Works in Internet Explorer 5.5 and later
Run Calc
Runs the Windows Calculator application.

Explorer: Run Calc
Last upd. 2 Dec. 2003
Yes Works in Internet Explorer 5.5 and later

See also these bookmarklets: layout, links, navigation, debugging, developer, search, experimental.



Top of this page
Go to the main page
Send e-mail
Updated 13 Apr. 2006