[web browser]No way to use a bookmarklet (bookmarked javascript: link)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Triaged
|
Low
|
James Mulholland | ||
webbrowser-app (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The Ubuntu browser has no way to use bookmarklets (a bookmarked javascript: link which runs some code in the context of the currently viewed page, rather than navigating to a new page). See https:/
In order to use bookmarklets, it must be possible to:
1. get a javascript: link into the browser's bookmarks database. Ideally this would be doable with JS in a client page; a suboptimal but possible alternative is the approach that iOS Safari takes, where one bookmarks a random URL and then edits the bookmark to contain a (copy-and-pasted) JavaScript URL instead. Neither are possible on Ubuntu's browser; bookmarks cannot be manually edited.
2. Invoke the bookmark in the current tab. This is not possible in the Ubuntu browser: one cannot open a bookmark in an existing tab, because the list of bookmarks is only available in the new tab screen.
Changed in webbrowser-app (Ubuntu): | |
importance: | Undecided → Medium |
Changed in webbrowser-app: | |
status: | Confirmed → Invalid |
summary: |
- No way to use a bookmarklet (bookmarked javascript: link) + [web browser]No way to use a bookmarklet (bookmarked javascript: link) |
Changed in ubuntu-ux: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
status: | New → Triaged |
assignee: | nobody → James Mulholland (jamesjosephmulholland) |
Note that despite the UI limitations that forbid creating bookmarklets, such code snippets do actually work when manually inserted in the bookmarks database. Tested with the following code snippet:
javascript: (function( ){alert( 'test') ;})();