SomeUserscript

Some userscript for some orange site idk

  1. // ==UserScript==
  2. // @name SomeUserscript
  3. // @version 1.3
  4. // @description Some userscript for some orange site idk
  5. // @author piyag47910
  6. // @match https://*.pornhub.com/*
  7. // @grant none
  8. // @license MIT
  9. // @run-at document-end
  10. // @namespace https://sleazyfork.org/users/1247880
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. setTimeout(function(){
  16. var nr = document.querySelector("#age-verification-wrapper");
  17. var nr2 = document.querySelector("#age-verification-container");
  18. var nr3 = document.querySelector("#ageVerificationOverlay");
  19. if(nr != null){
  20. nr.parentNode.removeChild(nr);
  21. }
  22. if(nr2 != null){
  23. nr2.parentNode.removeChild(nr2);
  24. }
  25. if(nr3 != null){
  26. nr3.parentNode.removeChild(nr3);
  27. }
  28. }, 500);
  29. })();