fork download
  1. // ==UserScript==
  2. // @name Antenna
  3. // @namespace antenna
  4. // @description antenna
  5. // ==/UserScript==
  6.  
  7. window.onload = function() {
  8.  
  9. var link = document.getElementsByTagName("a");
  10.  
  11. var reg = new RegExp("http://m...content-available-to-author-only...h.com|http://m...content-available-to-author-only...h.com");
  12.  
  13. for (i = 0; i < link.length; i++)
  14. {
  15. var url = link[i].getAttribute("href");
  16.  
  17. if(url.match(reg))
  18. {
  19. alert("対象サイト発見");
  20. link[i].style.display = "none";
  21. }
  22. }
  23. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty