Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Can I make these work on Android or is there a google place to create or convert bookmarklets to make them Android Compatible?

share|improve this question
1  
add comment

4 Answers 4

up vote 2 down vote accepted

Finally got it to work and it wasn't complicated at all.

Simply create a bookmark and paste the javascript into the URL field. I've tried it on this bookmarklet that does a google definition search:

javascript: s = (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (s == '') { l = parent.frames.length; if (l != 1) { for (i = 0; i < l; i++) { s = parent.frames[i].document.getSelection ? parent.frames[i].document.getSelection() : parent.frames[i].document.selection.createRange().text; if (s) { break; } } } } if (s == '') { void( s = prompt('Google Define: Enter a term or mark some text.','') ); } if (s) { s = String(s); s = s.replace(/^s*|s*$/g,''); s = escape(s);void( bmw = open('http://www.google.com/search?num=100&start=0&q=define:'+s+'','GoogleDefineBM'+String(Math.round(Math.random()*1000))) );}

To get it saved as a bookmark I just saved the text in evernote then copied it on my phone an pasted it in the url field of "new bookmark." To make it even easier to access I created a custom dolphin gesture that opens it as "Go To URL". Now when I'm browsing and I want to lookup a word I hit the gesture button and draw a "d" and it brings up a popup that allows me to lookup the word.

I've only tried this on Dolphin Browser HD.

share|improve this answer
add comment

It isn't so much being "Android compatible" as being compatible with the specific browser.

That being said... I haven't gotten URL-based javascript to execute in Dolphin, but that proves nothing.

share|improve this answer
add comment

"Simply create a bookmark and paste the javascript into the URL field."

Bookmark a page that you have not bookmarked, then modify the bookmark, Name, Address, Folder (to something like "Bookmarklets"), and Assign a Gesture, then Add.

Suggest you create a gesture to create a bookmark and draw a five pointed star as that gesture. (or use the "+" at the left end of the address bar.)

For more information see http://dmcritchie.mvps.org/dolphin/dolphin_mygestures.htm

share|improve this answer
add comment

Chrome to Phone and also...

Phone to Chrome,

Once the the linkys gets synchronized, then its merely a matter of bookmarking it.

The only onus, is that Chrome is installed on the PC Desktop, in that way, linkys can be shared.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.