I am unable to get this to work for the Photon browser. In other words, I click the bookmark but nothing at all happens. No error, no activation of Photon. Nothing.
I'm using an iPad 3 with iOS 7. Could there be a problem with the new OS? I am able to use the bookmarklet for opening iCab OK, so I think I have the bookmarklet creation procedure right. Though the post shows a smiley, I do have the proper colon and open paren in the actual code.
Any ideas or thoughts of what else I might check?
Thanks for a great set of procedures!~!
James
This is very odd - cause the JavaScript from the first page works for me. So, try one or both of these two things:
(1) Use this script I just put into my iPad 3 that is running iOS 7:
javascript: (function()%7Bif(document.location.href.indexOf('http')===0)document.location.href=document.location.href.replace(/%5Ehttp/,'photon');%7D)();
NOTE: Take out the space after the first colon (after the word javascript). Had to put it in to remove the forum's attempts at smiley faces...
I say to try this because when I compared the script you posted above with the script I just posted, they appeared to be different. It may be that the forum software changed it, but just in case, I know what I pasted works.
...or...
(2) Try fully closing out Safari on the iPad (do the 4-finger swipe up to reveal the cards, then swipe up to close Safari). Then, in the Safari tab of your Settings app, clear out both history and cookies.
I had to do this in order to make the above code work on my phone. I had saved it to my Favorites in Safari on the iPad, which is synced to Safari on my phone. But, it didn't work at first. So, I cleared everything out and now this bookmarklet works on both my iPad and my iPhone.
So, try again? Good luck and let us know how you get on.
Marilyn