If you have tried to use bookmarlets, you may have noticed the browser automatically appends http:// in front of your bookmarklet js code... I've been able to get *some* bookmarklets working in the android browser by updating the bookmark urls manually in the database.
- Tim Hoeck
It looks like document modifiers don't tend to work, however, I was able to get a couple basic bookmarklets functioning..
- Tim Hoeck
Using adb: sqlite3 /data/data/com.android.browser/databases/browser.db
- Tim Hoeck
Then: update bookmarks set url="<insert bookmarklet>" where _id=<id of bookmark to update>;
- Tim Hoeck
I assume this solution is only working for development phone, not for all?
- Matt Zhou
Matt, if you have access to adb, you can do it.. I found it kind of pointless in the end though, because none of the really good bookmarklets work, only basic ones.
- Tim Hoeck
It might be possible to save bookmarklets using a small app that uses "Share link" intents ... eg, long press on the bookmarklet link, select "Share with BookmarkletSaver", which would then add it to your browser bookmarks, without the http://. Only useful if most bookmarklets actually function though ... which it seems that don't .. :<
- Andrew Perry