去LeetCode 中文版广告

try to take over the world!

  1. // ==UserScript==
  2. // @name 去LeetCode 中文版广告
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description try to take over the world!
  6. // @author DrCube
  7. // @match *://*.leetcode.com/*
  8. // @match *://leetcode.com/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. $(".fa.fa-times-circle").click();
  17. $("div.cn_close_btn").click();
  18. //fa.fa-times-circle
  19. //btn.btn-link.pull-right.close-btn
  20. //div.cn_close_btn
  21. })();