← Back to team overview

touch-packages team mailing list archive

[Bug 1407746] Re: No way to use a bookmarklet (bookmarked javascript: link)

 

Just tested the above statement, and this doesn’t work for bookmarklets:
the URL that is being bookmarked is "about:blank", which is not very
useful…

-- 
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 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/ubuntu/+source/webbrowser-app/+bug/1407746/+subscriptions