Public bug reported: 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 ** Affects: webbrowser-app (Ubuntu) Importance: Undecided Status: New -- 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/1516248 Title: Bookmarklets do not work Status in webbrowser-app package in Ubuntu: New 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1516248/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp