Bookmarklets do not work

Bug #1516248 reported by AlainKnaff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
New
Undecided
Unassigned

Bug Description

In many of today's browser, it is possible to bookmark a javascript: URL . When clicking on such a bookmark, the javascript code snippet is executed within the context of the currently shown page.

Attempting to do this in the Ubuntu Phone web browser pops up a new tab with an about:blank page...

Bookmarklets would be handy to work around other deficiencies in the browser (such as lack of form autocompletion or password manager, bug #1516220): just have some javascript bookmark that fills in the required fields (I know, there are security implications, but for unimportant social networking sites this would be ok)

phablet@ubuntu-phablet:~/public_html$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04
phablet@ubuntu-phablet:~/public_html$ apt-cache policy webbrowser-app
webbrowser-app:
  Installed: 0.23+15.04.20151103-0ubuntu1
  Candidate: 0.23+15.04.20151103-0ubuntu1
  Version table:
 *** 0.23+15.04.20151103-0ubuntu1 0
       1001 http://ppa.launchpad.net/ci-train-ppa-service/stable-snapshot/ubuntu/ vivid/main armhf Packages
        100 /var/lib/dpkg/status
     0.23+15.04.20150416-0ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main armhf Packages

What I expected to happen:
 javascript code of the bookmark should be executed on current page

What happened instead:
 New tab is created with about:blank content

Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

Sorry, hadn't noticed that this bug was already filed.
Duplicate of #1407746

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.