This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name NC | |
// @namespace http://sahvemat.com | |
// @version 0.9 | |
// @description try to take over the world! | |
// @author You | |
// @updateURL https://gist.githubusercontent.com/myalcin81/27b280713e7c20afc595734e8a32d4e9/raw/nss.js | |
// @match https://www.netsparkercloud.com/* | |
// @match https://*.netsparker.cloud/* | |
// @require http://code.jquery.com/jquery-latest.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
const copyToClipboard = str => { | |
const el = document.createElement('textarea'); | |
el.value = str; | |
el.setAttribute('readonly', ''); | |
el.style.position = 'absolute'; | |
el.style.left = '-9999px'; | |
document.body.appendChild(el); | |
el.select(); |