Redirect to Lootbits.io

redirects to lootbits site if error page is accidentally opened

目前为 2020-02-12 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Redirect to Lootbits.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description redirects to lootbits site if error page is accidentally opened
  6. // @author bernd
  7. // @match https://lootbits.io/dashboard.phpundefined
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. if(location.href == "https://lootbits.io/dashboard.phpundefined")
  13. {
  14. location.href = "https://lootbits.io/dashboard.php";
  15. }
  16. })();