OWOT 1Warn

Changes the duplicate JavaScript link warning to 1 popup

  1. // ==UserScript==
  2. // @name OWOT 1Warn
  3. // @namespace https://greasyfork.org/users/200700
  4. // @version 0.1.1
  5. // @description Changes the duplicate JavaScript link warning to 1 popup
  6. // @author SuperOP535
  7. // @match *.ourworldoftext.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. runJsLink = function(a) { if(confirm('Are you sure you want to run this javascript link?\n\n' + a.slice(0, 256))) { location.href = a; } };