Javascript bookmarks for the EPOC Opera 5 browser

These Javascript bookmarks are for use with EPOC Opera 5. Some of them attempt to help overcome certain bugs and unfinished features while others are just general scripts that some people may find useful. All have been made as short as possible to fit into the bookmarks manager so don't expect elegance!

Although many of these bookmarks could run in Opera 3.62 too, the bookmarks manager in that version is unable to store or read Javascript URIs.

[#Cut to the chase]

Creating the bookmarks

To create each bookmark, go into the Opera 5 bookmarks manager and use the 'Insert new bookmark' option at a suitable location. This will produce a popup allowing you to enter the new bookmark details. Copy & paste the contents of each form below into the relevant fields. This will be rather awkward as you can't toggle between the bookmarks manager and the normal browser view while you're editing a bookmark so you'll probably have to paste one field at a time (re-editing each bookmark as you go).

In case you're considering loading this page in EPOC Web and copying the fields from there into Opera: Please don't! A bug in Web's handling of HTML in form elements will lead to surplus characters appearing in the fields, causing the bookmarks to break when you paste them into Opera.

Another option is to download this bookmarks file, which is in Opera 3.62 format. If you close Opera 5 and then place this file in the Opera 5 folder the new bookmarks will be imported into your current Opera 5 bookmarks. The Opera folder is at:

C:\System\Apps\Opera\

When you next start Opera, the Bookmark.ini file will be deleted automatically and its contents imported at the top of Bookmarks, the Opera 5 bookmarks file — which should be backed up first just in case something goes wrong:

C:\System\Apps\Opera\Bookmarks

[Do not try to edit the Opera 5 bookmarks file with a text editor. It's a binary file and will become corrupt if you do.]

Once imported, you can cut & paste the new bookmarks to a new folder, however this method will not include each boomark's nickname. You will have to add those manually by going into the bookmarks manager and selecting the 'Edit bookmark' option. Then paste the nicknames from the forms below (or make your own up).

Using the bookmarks

Once you have the Javascript bookmarks saved on your machine simply enter the nickname in the address bar to run it. For example, if you've loaded a page with a mailto link but the link text doesn't let you know the actual Email address then entering '@' into the address bar will display the Email address in a small popup. If the page contains more than one mailto link then a popup will appear for each of them.

An example is this mailto link: Contact us!

In Opera 5 for EPOC you cannot see the Email address when you click on the link, but using the 'mailto' bookmark helps. Just add the bookmark below and enter '@' into your address bar to test it. Unfortunately Javascript isn't capable of actually launching the EPOC Email app. It can only show you the address, which is easier than having to save the page and search through the source in a text editor.

Obviously, if Javascript is disabled then these bookmarks won't work. Be sure to highlight all text in each field before you copy from it. Holding down Ctrl while you drag the pen can make highlighting easier.


Submit a form that doesn't have a submit button
Name:
URL:

This bookmark is the same as the one described on the messageboard.

Nickname:

Display the Email address of a 'mailto' link using an alert
Name:
URL:

This 'mailto' bookmark displays the Email address in a simple alert box. The text cannot be copied so you have to type it into the Email app.

Nickname:

Display the Email address of a 'mailto' link using a popup window
Name:
URL:

This variation of the 'mailto' bookmark will open a new window and display the Email address in a form field, making it easy to copy the text and paste it into the Email app. Opening a new window uses more memory.

Nickname:

A simple popup to start a Google web search
Name:
URL:

WARNING: This bookmark will prompt you to enter some text for your search. Do not click OK while the field is still empty otherwise a bug in Opera 5 will cause the browser to crash. Clicking 'Cancel' does not cause this problem.

Nickname:

Go straight to a newsgroup on Google
Name:
URL:

WARNING: This bookmark will prompt you to enter the name of a newsgroup (such as comp.sys.psion.misc or opera.epoc). Do not click OK while the field is still empty otherwise a bug in Opera 5 will cause the browser to crash. Clicking 'Cancel' does not cause this problem.

Nickname:

Look for page in the Wayback machine
Name:
URL:

Use this bookmark from any URL to check for archived copies in the wayback machine.

Nickname:

Put the page through the W3C HTML validator
Name:
URL:

Use this bookmark while looking at any page on the web to check it for broken and poorly writtem HTML.

Nickname:

View the HTTP headers sent with the page
Name:
URL:

Use this bookmark from any URL and you'll be taken to a page showing the HTTP headers sent with that file.

Nickname:

Lookup an IP or domain through Samspade
Name:
URL:

WARNING: This bookmark will prompt you to enter an IP or host (such as 193.131.66.38 or psion.com). Do not click OK while the field is still empty otherwise a bug in Opera 5 will cause the browser to crash. Clicking 'Cancel' does not cause this problem.

Nickname:

Display last-modified date of page/file
Name:
URL:

This Javascript bookmark from any URL displays an alert box showing the date and time the file was last updated (if known). The time is in GMT.

Nickname:

And finally


[Back to messageboard] [Home] [Opera 3] [Opera 5] [Manual & tutorial] [Technical] [Screenshots]