DonationCoder.com Software > Unfinished Requests
UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1'
ewemoa:
I haven't had much luck so far with the default browser, nor with Dolphin.
BTW, %20 seems to be something that was added by Firefox (at least for the desktop). I would try things without them (i.e. use spaces) initially.
May be others might have some better ideas.
FWIW, I've temporarily placed the text of the bookmarklet (what I pasted in to FF 4.0.1) at:
http://ewemoa.dcmembers.com/tmp/andbkmklt.txt
This might be helpful in getting the bookmarklet content on to the Android device.
lujomu:
I would try things without them (i.e. use spaces) initially.
-ewemoa (June 06, 2011, 06:34 AM)
--- End quote ---
Yes, I did that - it does not work. I tried some 'javascript to bookmarklet' converters, and they all replaced the spaces by '%20'. Seems to me, the javascript must not contain spaces.
ewemoa:
Hmmm...thanks for trying.
FWIW, I noticed that one bookmarklet I tested in Chrome didn't end up with %20 where there were spaces...perhaps it can work with both. Also I was able to get Dolphin to save a bookmarklet without ending up with %20s, though haven't had any luck telling if it actually executes anything.
BTW, do you have some sites (specifically URLs) you wouldn't mind sharing for testing that are relevant to this bookmarklet?
lujomu:
E.g.:
http://m.lifehacker.com/
http://m.gizmodo.com/
And as I just saw, this use the tag
--- Code: Javascript ---user-scalable=noinstead of
--- Code: Javascript ---user-scalable=0
ewemoa:
Thanks for the example URLs.
I had also started noticing the use of 'yes' / 'no'.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version