The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniWeb > OmniWeb Bug Reports
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Bookmarklets broken when URL is a picture Thread Tools Search this Thread Display Modes
It seems that the bookmarklets don't work all the time. Specifically, if the URL in the address bar is a picture (perhaps all non-html media, I haven't played with it that much) bookmarklets in your tool bar don't work.

To reproduce:

Create a bookmarklet, say this "Up" bookmarklet here:

javascript:if%20(location.pathname%20==%20%22/%22);%20else%20if%20(location.pathname.charAt(loca tion.pathname.length-1)%20==%20%22/%22)%20location%20=%20%22..%22;%20else%20location% 20=%20%22.%22;%20void%200

(Note, The forum software is broken, and won't insert the URL unmolested. You'll have to create it yourself.)

Load a picture in the browser, say this one:

Click the bookmarklet. Either OmniWeb will attempt to visit the "address" of the bookmarklet, in which case you get an error page, or nothing will happen. I haven't been able to determine when or why each case occurs yet. In either case, this is not expected behavior.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript and Bookmarklets scb OmniWeb General 2 2010-04-24 05:08 AM
Javascript bookmarklets broken again philonous OmniWeb Bug Reports 2 2007-12-03 11:21 AM
OW 5.6sp - r88963 - bookmarklets not working mihnat OmniWeb Bug Reports 0 2007-07-18 05:55 PM
Bookmarklets in OmniWeb 5.5? khoiv OmniWeb Bug Reports 4 2006-12-05 09:28 AM
sp10 javascript bookmarklets philonous OmniWeb Bug Reports 1 2006-05-11 09:18 AM

All times are GMT -8. The time now is 11:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.