More Tomatoes

Automatically show the full "Movie Info" plot synopsis on Rotten Tomatoes

  1. // ==UserScript==
  2. // @name More Tomatoes
  3. // @description Automatically show the full "Movie Info" plot synopsis on Rotten Tomatoes
  4. // @author chocolateboy
  5. // @copyright chocolateboy
  6. // @version 2.0.0
  7. // @namespace https://github.com/chocolateboy/userscripts
  8. // @license GPL
  9. // @include http://rottentomatoes.com/m/*
  10. // @include http://*.rottentomatoes.com/m/*
  11. // @include https://rottentomatoes.com/m/*
  12. // @include https://*.rottentomatoes.com/m/*
  13. // @run-at document-start
  14. // @grant none
  15. // ==/UserScript==
  16.  
  17. // NOTE This file is generated from src/more-tomatoes.user.ts and should not be edited directly.
  18.  
  19. "use strict";
  20. (() => {
  21. // src/more-tomatoes.user.ts
  22. // @license GPL
  23. var run = () => {
  24. const synopsis = document.querySelector('[data-qa="section:media-scorecard"]');
  25. if (!synopsis) {
  26. return;
  27. }
  28. const readLess = synopsis.querySelector('[slot="ctaClose"]');
  29. if (readLess) {
  30. readLess.style.display = "none";
  31. }
  32. const readMore = synopsis.querySelector('[slot="ctaOpen"]');
  33. if (readMore) {
  34. readMore.click();
  35. }
  36. };
  37. window.addEventListener("load", run);
  38. })();

QingJ © 2025

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