Some bookmarklets no longer work since 3.7.2218.58?
-
That seems to be the case, since I don't know what else could explain it. The problem continues in 3.8 but began, I think, with Minor update (4) for 3.7
This is the one I'm aware of, but where there's one there's more with the problem, because otherwise the odds of my finding this are astronomical.
CamelCamelCamel bookmarklet seems dead now, but continues to work in Chrome. Originally, I thought it was an out-of-date bookmarklet, since I had been using an older one than is shown on that site, but clearly that wasn't the issue.
Is there a general problem to explain this? I'm less concerned about this one bookmarklet than a widespread problem with them. I do have one other for a separate purpose which continues to work.
-
@rseiler Yes, bookmarklets are basically broken in Vivaldi at the moment. Some work, most don't.
Creating them with drag+drop to the bookmarks bar, like most sites tell users to do, will fail (URL turns into
about:blank#blocked
). Same with dragging to bookmarks panel.Trying to copy the link address to create a bookmarklet manually leads to Vivaldi encoding the URL, which again obviously won't work
So yeah, broken.
Please report a bug:
carefully and report the bug to Vivaldi bugtracker
-
@pathduck The whole method-of-creation thing aside (because that's more a missing feature than bug), I didn't even notice that the bookmarklet URL that I was pasting in was changing.
I compared it with I get from this:
https://meyerweb.com/eric/tools/dencoderIt's not the same, but it's along the same lines. Is it encoding in a different way or incorrectly?
Is it the fact that it changes it all what's new, or did it do that before, too, but work anyway? I'm pretty sure it's the former and not the latter.
-
@rseiler I have no idea, and I have no clue what the bookmarklet is even supposed to do or what it's good for.
A quick look at the code looks like it does some regular expression matching and then just searches the Camel site for the Amazon product ID, then displays its price history and some other stuff.
You could do the exact same thing with a basic (and working) bookmarklet like this:
https://pastebin.com/Et065ZqA
(Had to use pastebin because the new forum won't let me paste JS code...)javascript<colon>window.open("https://camelcamelcamel.com/search?q="+encodeURIComponent(window.location.href));
Just replace the
<colon>
with an actual:
-
@pathduck Yes, that's what it does, and it's funny that the much shorter one works, but the longer one had been working, too.
I'll have to go to an earlier Vivaldi version to check my memory as to what happened there in terms of changing the URL or not. Also, I notice now that the word "javascript" is inexplicably stripped out upon paste, which is very weird. I have no memory of that ever happening before, but I create these infrequently enough that it's possible.
-
@rseiler said in Some bookmarklets no longer work since 3.7.2218.58?:
@pathduck Yes, that's what it does, and it's funny that the much shorter one works, but the longer one had been working, too.
I'll have to go to an earlier Vivaldi version to check my memory as to what happened there in terms of changing the URL or not. Also, I notice now that the word "javascript" is inexplicably stripped out upon paste, which is very weird. I have no memory of that ever happening before, but I create these infrequently enough that it's possible.
The stripping of javascript when pasting onto URL bar is a security measure that can be disabled in setting, according to my understanding
-
@c933103 No, it's not related to
Strip JavaScript From Pasted Text
inSettings | Address Bar | Security Features
. Now, the forum doesn't allow anymore JS inside a post. -
Ppafflick moved this topic from Vivaldi for Windows on