NoAge Pornhub

Remove age verification on PornHub

  1. // ==UserScript==
  2. // @name NoAge Pornhub
  3. // @author Maxsior / MaxSkull
  4. // @description Remove age verification on PornHub
  5. // @description:ru Удалить проверку возраста на PornHub
  6. // @match https://*.pornhub.com/*
  7. // @version 0.6
  8. // @grant none
  9. // @icon https://bi.phncdn.com/www-static/favicon.ico?cache=12345678
  10. // @namespace NoAge_Pornhub
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. function rem() {
  15. var elem = document.getElementById('age-verification-container');
  16. if (elem) {
  17. elem.style.display = "none";
  18. document.getElementById('age-verification-wrapper').style.display = "none";
  19. }
  20. else
  21. document.getElementById('verifyAgeWrapper').style.display = "none";
  22. }
  23.  
  24. window.addEventListener("DOMContentLoaded", rem);
  25.  
  26. rem();