script issue (href vs onclick)

  • Hello, I found this code in some app. Im not telling it is 100% valid, but in all other browsers the link opens new window with href ( page), but only vivaldi opens on first click new window "empty.html" and on the second click to link opens "" into the same window. Is there some bad interpreting in vivaldi or some inner script delay - did not get variable url from href... ???

    	function openwindow(height, width, windowname, url ) { 
    	if(typeof url === 'undefined')
    		url = "empty.html";
    	var w = (url, windowname, "toolbar=n,height="+height+",width="+width+",resizable=1,scrollbars=1" );
    <a href="" onclick="openwindow(500, 600, 'mywindowname' )" target="mywindowname">Click me</a>

  • Moderator

    @terrence101 confirmed on Vivaldi 1.12 and 1.13.

    If you found a bug, please report the issue to the developers to fix it.

    How to do a bugreport for Vivaldi
    Report each bug seperately at
    Describe the issue as precise as you can.
    Add some information about extensions you use.
    Add information about the operating system and version you use.
    If you have problems with video or audio give us information about your installed codecs and graphics card/GPU.
    Add a exact link to the page where the issue comes up and can be tested.
    After reporting the issue, you will receive a confirmation mail from the bugtracker.
    In a reply to this mail you can add more information and files (like screenshots or testcases) as attachments and it will be added automatically to bug report.
    If you have questions about the bug please ask in forum first and do not forget to post the VB-XXXXX bug number (you can find it in confirmation mail).

    Thanks in advance for helping us to make Vivaldi better!

  • Moderator

    Is in bugtracker as VB-34215 "created window opened with different content"


Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.