touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #45636
[Bug 1407746] Re: No way to use a bookmarklet (bookmarked javascript: link)
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');})();
** Changed in: webbrowser-app
Status: New => Confirmed
** Changed in: webbrowser-app
Importance: Undecided => Medium
** Also affects: webbrowser-app (Ubuntu)
Importance: Undecided
Status: New
** Changed in: webbrowser-app (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1407746
Title:
No way to use a bookmarklet (bookmarked javascript: link)
Status in Web Browser App:
Confirmed
Status in webbrowser-app package in Ubuntu:
Confirmed
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://www.readability.com/bookmarklets for an example of such
bookmarklets and why they're useful. In short, bookmarklets are a
slightly clunky but open and available way for people to augment the
capabilities of a web browser without being blocked on the browser
developers implementing a feature.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1407746/+subscriptions