News for hackers. Stuff that matters.
Re:Wait, What's a Bookmarklet? by ulrischa on Wednesday October 25, 2023 @01:58PM (#38015930)
Sadly bookmarklets do not work in mobile Browsers. Would be great.
Re:Wait, What's a Bookmarklet? by maxglute on Wednesday October 25, 2023 @02:48PM (#38016693)
Some do for chrome on android. They have to be named, you can search for the same in omnibar and tap. Works for things like changing playback speed.
Re:Wait, What's a Bookmarklet? by _iven_ on Wednesday October 25, 2023 @02:58PM (#38016808)
Bookmarklets can work in mobile browsers.

For mobile Chrome:

- Create a new bookmark

- Replace the bookmarked link with the bookmarklet javaScript code, e.g., javascript:alert('hello world')

- To use the bookmarklet, start typing the bookmark name in the address bar until the auto-complete displays the bookmark, and then click on it.

For mobile Safari,

- Create a new bookmark and replace the URL with your javaScript code

- To use the bookmarklet, tap on the bookmarklet name from the bookmarks menu

(The edit was to better format my comment)

Re:Wait, What's a Bookmarklet? by ulrischa on Thursday October 26, 2023 @02:55PM (#38030166)
Hey this is too cool. Thank you