RuffleInjector

Automatically inject the latest version of Ruffle into any webpage.

  1. // ==UserScript==
  2. // @name RuffleInjector
  3. // @name:de RuffleInjector
  4. // @name:en RuffleInjector
  5. // @namespace sun/userscripts
  6. // @version 1.0.13
  7. // @description Automatically inject the latest version of Ruffle into any webpage.
  8. // @description:de Bindet die neueste Ruffle-Version automatisch in jede Webseite ein.
  9. // @description:en Automatically inject the latest version of Ruffle into any webpage.
  10. // @compatible chrome
  11. // @compatible edge
  12. // @compatible firefox
  13. // @compatible opera
  14. // @compatible safari
  15. // @homepageURL https://forgejo.sny.sh/sun/userscripts
  16. // @supportURL https://forgejo.sny.sh/sun/userscripts/issues
  17. // @contributionURL https://liberapay.com/sun
  18. // @contributionAmount €1.00
  19. // @author Sunny <sunny@sny.sh>
  20. // @include *://*/*
  21. // @exclude *://www.ebay.com/*
  22. // @exclude *://trakt.tv/*
  23. // @match *://*/*
  24. // @run-at document-end
  25. // @inject-into auto
  26. // @grant none
  27. // @noframes
  28. // @require https://unpkg.com/@ruffle-rs/ruffle
  29. // @icon https://forgejo.sny.sh/sun/userscripts/raw/branch/main/icons/RuffleInjector.png
  30. // @copyright 2022-present, Sunny (https://sny.sh/)
  31. // @license Hippocratic License; https://forgejo.sny.sh/sun/userscripts/src/branch/main/LICENSE.md
  32. // ==/UserScript==
  33.  
  34. (() => {
  35. window.RufflePlayer.config = {
  36. publicPath: "https://unpkg.com/@ruffle-rs/ruffle",
  37. };
  38. })();