remove tgfc flag for abp

press shift+r to remove the flag

目前為 2017-04-12 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name remove tgfc flag for abp
  3. // @description press shift+r to remove the flag
  4. // @match *://*tgfcer.com*
  5. // @require https://code.jquery.com/jquery-3.2.1.slim.min.js
  6. // @version 0.0.1.20170412072905
  7. // @namespace https://greasyfork.org/users/115835
  8. // ==/UserScript==
  9.  
  10. console.log("a");
  11. (function(){
  12. document.addEventListener('keydown', function(e) {
  13. if (e.keyCode == 82 && e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey) {
  14. $("i").remove();
  15. console.log("b");
  16. }
  17. }, false);
  18. })();