Sleazy Fork is available in English.

javbusHelper

it will remove the bgImg on the detail pages on javBus!

질문, 리뷰하거나, 이 스크립트를 신고하세요.
  1. // ==UserScript==
  2. // @name javbusHelper
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.6
  5. // @description it will remove the bgImg on the detail pages on javBus!
  6. // @author You
  7. // @match https://www.javbus.com/*
  8. // @match https://www.buscdn.one/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=javbus.com
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. var removeFirstTagViaClassName = function(className){
  16. var els = document.getElementsByClassName(className);
  17. if (els.length>0){
  18. var el = els[0];
  19. if (el){
  20. el.parentNode.removeChild(el);
  21. }
  22. }
  23. };
  24. removeFirstTagViaClassName("bigImage");
  25. function removeAdBox(s){
  26. var adBoxContainer = document.querySelector(s);
  27. if(adBoxContainer){
  28. adBoxContainer.parentElement.removeChild(adBoxContainer);
  29. }
  30.  
  31. }
  32. removeAdBox("div.bcpic2");
  33. removeAdBox("div.banner300");
  34. removeAdBox("div.ad-box");
  35. removeAdBox("iframe");
  36. removeAdBox(".banner728");
  37. setTimeout(function(){ removeAdBox("div.ad-box");},2e2)
  38.  
  39. })();