×

Give a tip

javascript bug in maxthon 6


Recommended Posts

On the favorite bar i have a link like

javascript: window.open('https://xxx.yyy.com/addlink.php?tit='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.URL), 'Add a Link', 'scrollbars=yes,menubar=no,width=620,height=620,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100')

this worked like a charm on maxthon 5 and does not work anymore on maxthon 6.1.2.1000

the two fields of my window that should be filled by title and url of the current page are now empty...

it is really annoying

gilles.

 

Tip   Give
Link to comment
  • 2 weeks later...
On 5/14/2021 at 1:32 PM, BugSir006 said:

Hi there, thank you for your reply. ? I tried to test this issue on my end. Attached a video for your reference.

as you have no account on my bookmark manager, your try is not really a good try. see my videos. best regards gilles.

Tip   Give
Link to comment
  • 2 weeks later...

i have just seen that Maxthon 6 after a clic on my button, first create a new tab before executing the button script : that why my fields are empty !!

Just now, gilluc said:

i have just seen that Maxthon 6 after a clic on my button, first create a new tab before executing the button script : that why my fields are empty !!

solution would be : if protocol is "javascript:" do not create a new tab ...

Tip   Give
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.