Jump to content
  • 0

BUG: Webclip goes crazy on windows open with window.open(...)


Camicia

Idea

Try this in console on any page (with at least a link):

  (function(){    function openAll(){      window.open("http://www.lifehack.org/articles/communication/how-to-be-awesome-at-life.html", "newone");    }    Array.prototype.forEach.call(document.querySelectorAll("a"), function(el){      el.addEventListener("click", function(e){        e.preventDefault();        openAll();      });    });  })();

Click on any link on the page. 

It should open "http://www.lifehack.org/articles/communication/how-to-be-awesome-at-life.html"

Now try to clip the content of  this page. And the clip goes crazy. 

 

It has problems with any link. Not just http://www.lifehack.org/articles/communication/how-to-be-awesome-at-life.html

 

 

Link to comment

0 replies to this idea

Recommended Posts

There have been no replies to this idea yet

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...