Jump to content
  • 0
Camicia

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

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

 

 

Share this post


Link to post

0 replies to this idea

Recommended Posts

There have been no replies to this idea yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...