Bookmarklets replaces the URL in the address bar
-
@postbb This bug was previously fixed when the code for the address bar was rewritten (I was able to remove the workaround extra code from my bookmarklets previously), but has returned as a regression, and you're correct that the old workaround no longer works anymore. I've reported the bug as VB-66045.
-
@valiowk said in Bookmarklets replaces the URL in the address bar:
I've reported the bug as VB-66045.
Thanks for reporting the bug! Are there some way to follow the status of a bug?
-
@valiowk
workaround worked for me today 2020-04-22, with Vivaldi 3.0.1874.23 (Stable channel) (64-bit) on Windows 10 OS Version 1903 (Build 18362.778),
but I thought that (); (open & close paren & semicolon) that I have at the end of my bookmarklets was supposed to do what the workaround fixes. I'm guessing it won't be fixed unless Chrome fixes their stuff for Chromium. -
Hello,
it seems that with latest version of Vivaldi, using a bookmarklet might cause a small issue.
Example :
I have a bookmarklet to scroll automatically on a page (preventing for scrolling a long way with the mouse).
With previous versions of Vivaldi, using that bookmarklet was "transparent", but now, it replaces the url of the website (and the javascript code appears now in the address bar).
Best regards.
-
Okay, so firt of all you need a bookmarklet, and in my case this one :
1-Install this bookmarklet : http://tim.theenchanter.com/2008/08/autoscroll-in-safari-firefox.html
2-Once saved in your bookmarks, just go to a website with infinite scroll layout (like Facebook, ArtStation, Instagram,...)
3-Click on your bookmarklet to begin the automatic scroll. This version allows you to choose the speed (just type 1-9) or stop (0).
With previous versions, when using the bookmarklet, the url in the address bar does not change. Now, I have the code in it, and if I want to change some data in the bookmark by clicking on the black icon from the address bar* (to change the description, very useful to add some tips), it will change the data bookmarklet, not the one for the website.
*
-
@darkwolf I can confirm this, and that it does not happen in Vivaldi 3.6.
Please report a bug here:
https://vivaldi.com/bugreport/ -
-
Could you please tell your ticket reference here, for future follow up.
I have the same issue.
-
@jesus2099 said in Issue with bookmarklets and address Bar:
Could you please tell your ticket reference here, for future follow up.
I have the same issue.
Hi,
sure, it's VB-78168
BR
-
I confirm this misbehaviour still occurs.
@ayespy (@Gwen-Dragon left, apparently), why was VB-66045 closed as invalid?
Can you reopen it after reading this topic, maybe changing its category or something? -
@jesus2099 Your issue was a duplicate of VB-18245
"javascript stays in address bar" which was fixed in 2020.
Sorry to say, but fixed bug reports are not reopened as i know.I am unhappy, that bug regressed and came back.
My new report is VB-82445 "[Regression] javascript stays in address bar" – was Confirmed.
-
P pafflick moved this topic from Archive on
-
P pafflick marked this topic as a question on
-
Hay miles de bookmarklets. No interesa de cual se trate. Tengo la versión 5.4 y sigue con la misma anomalía.
-
@jasantes
Workaround. Add this one to the line end of the bookmarklets.;window.history.replaceState({},"",location.href);
-
This workaround didn't work well for someone in the older topic (VB-82445): https://forum.vivaldi.net/topic/31409/bookmarklets-replaces-the-url-in-the-address-bar
But it seems to work according to your other topic.
I didn't try it, I am to lazy to change bookmarklets and then revert when the bug is fixed.
It's it a Chrome bug, maybe?
- VB-45352 – master bug confirmed by DoctorG
“Execution of a javascript code in the URL leave command there” - VB-78168
- VB-82445
- VB-45352 – master bug confirmed by DoctorG
-
P pafflick has marked this topic as solved on
-
There is now a duplicate topic (VB-78168): https://forum.vivaldi.net/topic/58467/issue-with-bookmarklets-and-address-bar
-
@DoctorG Masterbug VB-45352 "Execution of a javascript code in the URL leave command there" - Confirmed.
-
If they are in a folder,
Duplicate it, rename/move the original Folder, edit the Bookmarklets.Delete them once officially fixed.
Could be done as well if dispersed.
-
I'm rather patient, I prefer waiting for the bug fix than adding more tasks for myself, present and future.
-
P pafflick marked this topic as a regular topic on
-
This bug is a troublemaker, even a history back
history.replaceState({},"",location.href);
at end of bookmarklet URL did not help. -
Just noticed that latest version broke that useful workaround. The code does no more refresh the address bar.