Use Bookmarklets on Chrome on Android

I love Bookmarklets, they let you quickly customise web sites in a lighter way than a Chrome extension, and for the longest time (5 years), I thought it wasn’t possible to run Bookmarklets on Chrome on Android.
It turns out, I was wrong. You just can’t run them the traditional way.
The way that most people access Bookmarks on Android doesn’t let you run a Bookmarklet, i.e, via “Select Bookmarks” in the main menu;


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>I love Bookmarklets, they let you quickly customise web sites in a lighter way than a Chrome extension, and for the longest time (5 years), I thought it wasn't possible to run Bookmarklets on Chrome on Android.</p> <p>It turns out, I was wrong. You just can't run them the traditional way.</p> <p>The way that most people access Bookmarks on Android doesn't let you run a Bookmarklet, i.e, via "Select Bookmarks" in the main menu;</p> <figure><img src="https://paul.kinlan.me/images/2020-05-21-use-bookmarklets-on-chrome-on-android-0.jpeg" alt="Accessing Bookmarklets via the menu"></figure> <p>And then then picking their bookmark from the list of bookmarks</p> <figure><img src="https://paul.kinlan.me/images/2020-05-21-use-bookmarklets-on-chrome-on-android-1.jpeg" alt="A List of bookmarks"></figure> <p>This is because Chrome on Android seems to have no knowledge of the current page the user is on, and therefore can't execute JavaScript against that page.</p> <p>I was today years old when I learnt that you can find bookmarks via the Address Bar, and they keep the context of the current page. This means that you can run Bookmarklets.</p> <figure><img src="https://paul.kinlan.me/images/2020-05-21-use-bookmarklets-on-chrome-on-android-2.jpeg" alt="Accessing Bookmarks in Chrome via the address bar"></figure> <p>Voila.</p> <p>Now that I know you can use bookmarklets via the address bar, this opens up a lot of options for slightly deeper customisation on Android than what is possible today.</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2020-05-21T16:20:28+00:00) Use Bookmarklets on Chrome on Android. Retrieved from https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/

MLA
" » Use Bookmarklets on Chrome on Android." Paul Kinlan | Sciencx - Thursday May 21, 2020, https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/
HARVARD
Paul Kinlan | Sciencx Thursday May 21, 2020 » Use Bookmarklets on Chrome on Android., viewed ,<https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/>
VANCOUVER
Paul Kinlan | Sciencx - » Use Bookmarklets on Chrome on Android. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/
CHICAGO
" » Use Bookmarklets on Chrome on Android." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/
IEEE
" » Use Bookmarklets on Chrome on Android." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/. [Accessed: ]
rf:citation
» Use Bookmarklets on Chrome on Android | Paul Kinlan | Sciencx | https://www.scien.cx/2020/05/21/use-bookmarklets-on-chrome-on-android/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.