Skip to content

Instantly share code, notes, and snippets.

@k0nserv
Last active May 10, 2016 13:16
Show Gist options
  • Save k0nserv/0383ff9a3fae4e17cc32bcedb2c8297f to your computer and use it in GitHub Desktop.
Save k0nserv/0383ff9a3fae4e17cc32bcedb2c8297f to your computer and use it in GitHub Desktop.
Save the web from target="_blank" exploits
(function () {
"use strict";
var URL = 'https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerability-ever-96e328301f4c';
if (window.opener) {
window.opener.location = URL;
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment