allocine.fr / marmiton.org / jeuxvideo.com nonsense remover

Supprime le pop-in et rétablit la barre de scroll pour ces sites qui voudraient seulement vous laisser le choix entre payer 1/2 euros ou manger tout plein de vilains cookies de tracking

  1. // ==UserScript==
  2. // @name allocine.fr / marmiton.org / jeuxvideo.com nonsense remover
  3. // @namespace Violentmonkey Scripts
  4. // @match *://www.allocine.fr/*
  5. // @match *://www.marmiton.org/*
  6. // @match *://www.jeuxvideo.com/*
  7. // @match *://www.750g.com/*
  8. // @match *://*.doctissimo.fr/*
  9. // @match *://*.aufeminin.com/*
  10. // @match *://www.lesnumeriques.com/*
  11. // @match *://*.cnetfrance.fr/*
  12. // @match *://www.purepeople.com/*
  13. // @match *://*.millenium.gg/*
  14. // @match *://www.jeuxactu.com/*
  15. // @match *://www.puretrend.com/*
  16. // @match *://www.terrafemina.com/*
  17. // @match *://www.purebreak.com/*
  18. // @match *://www.ozap.com/*
  19. // @match *://*.over-blog.com/*
  20. // @match *://*.canalblog.com/*
  21. // @match *://*.eklablog.com/*
  22. // @match *://www.leblogtvnews.com/*
  23. // @match *://*.actu.fr/*
  24. // @grant none
  25. // @license MIT
  26. // @version 1.05
  27. // @author GourouLubrik
  28. // @description Supprime le pop-in et rétablit la barre de scroll pour ces sites qui voudraient seulement vous laisser le choix entre payer 1/2 euros ou manger tout plein de vilains cookies de tracking
  29. // ==/UserScript==
  30.  
  31. function mutationObserverCallback(mutationsList, observer) {
  32. mutationsList.forEach(mutation => {
  33. if (mutation.attributeName === 'class') {
  34. const target = mutation.target;
  35. if(target.classList.contains('didomi-popup-open')) //burnthewitch!
  36. {
  37. target.classList.remove('no-ads', 'didomi-popup-open');
  38. }
  39. target.style.setProperty("overflow", "visible", "important");
  40. const didomiHost = document.getElementById('didomi-host');
  41. if(didomiHost) {
  42. didomiHost.remove();
  43. }
  44. }
  45. })
  46. }
  47. const mutationObserver = new MutationObserver(mutationObserverCallback);
  48. mutationObserver.observe(document.querySelector('html > body'), { attributes: true })
  49.  

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址