[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-12-18 Thread Olivier Tilloy
What you’re describing here is a bug in the TextField component used by the browser for the address bar. I verified that the field actually contains the entire URL, despite not allowing to scroll through it (if you long press to show the context menu, then select all, then copy, and paste it into a

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-11-29 Thread Matthew Exon
This method doesn't seem to work for me. I select one of the links as instructed. It doesn't generate an error page, rather it just shows a blank page. When I go to the address bar it looks like most of the javascript has been deleted, it just says "ref);document.body.appendChild(_LP_);". I thi

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-11-06 Thread Olivier Tilloy
I just looked further into this, and I think we can close the bug as invalid: LastPass has some instructions on how one needs to remove the "android:lpfill?" prefix from the URL when creating a bookmark with it, so this is the expected behaviour: « If your mobile device doesn't support copy and

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-10-16 Thread Olivier Tilloy
The "like Android" token in the default UA string has been the topic of many debates in the past. If you’re interested, see the discussion in bug #1328183. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-10-16 Thread Matthew Exon
(Also it's kinda late here, I didn't read carefully, and I now realise that all of the above is exactly what you said in your comment. Sorry! I still kinda think that the UA string is a bit misleading though.) -- You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-10-16 Thread Matthew Exon
Ah right, so I just checked my own server logs and the user agent string in the Ubuntu browser is "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4) AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari/537.36". I don't think I can realistically blame LastPass for treating it like an Android phon

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-10-16 Thread Matthew Exon
Wow, that is interesting. It turns out that using the Ubuntu browser Lastpass's website returns that "android:" string as the bookmarklet, whereas using a normal webbrowser it returns a much longer "javascript:" string. Seems like this is some kind of optimisation introduced on LastPass's end and

[Bug 1506836] Re: LastPass bookmarklet not supported in ubuntu-touch browser

2015-10-16 Thread Olivier Tilloy
You mention in the description that the bookmarklet starts with "android:", is that correct? If so there’s no chance of it being supported in webbrowser-app. Bookmarklets are supposed to start with "javascript:". See bug #1407746 for support of correct bookmarklets. I’ll keep this bug open though