RuffleInjector

Automatically inject the latest version of Ruffle into any webpage.

目前为 2023-04-29 提交的版本。查看 最新版本

// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
/* eslint-env browser, greasemonkey */
/* jshint asi: true, esversion: 11 */

// ==UserScript==
// @name               RuffleInjector
// @name:de            RuffleInjector
// @name:en            RuffleInjector
// @namespace          sun/userscripts
// @version            1.0.8
// @description        Automatically inject the latest version of Ruffle into any webpage.
// @description:de     Bindet die neueste Ruffle-Version automatisch in jede Webseite ein.
// @description:en     Automatically inject the latest version of Ruffle into any webpage.
// @compatible         chrome
// @compatible         edge
// @compatible         firefox
// @compatible         opera
// @compatible         safari
// @homepageURL        https://forgejo.sny.sh/sun/userscripts
// @supportURL         https://forgejo.sny.sh/sun/userscripts/issues/new
// @contributionURL    https://liberapay.com/sun
// @contributionAmount €1.00
// @author             Sunny <[email protected]>
// @include            *://*/*
// @exclude            *://www.ebay.com/*
// @exclude            *://trakt.tv/*
// @match              *://*/*
// @run-at             document-end
// @inject-into        auto
// @grant              none
// @noframes
// @require            https://unpkg.com/@ruffle-rs/ruffle
// @icon               https://forgejo.sny.sh/sun/userscripts/raw/branch/main/icons/RuffleInjector.png
// @copyright          2022-present, Sunny
// @license            MIT; https://forgejo.sny.sh/sun/userscripts/src/branch/main/LICENSE
// ==/UserScript==

// ==OpenUserJS==
// @author             TheLastZombie
// ==/OpenUserJS==

(function () {
  "use strict";

  window.RufflePlayer.config = {
    publicPath: "https://unpkg.com/@ruffle-rs/ruffle",
  };
})();

// @license-end

QingJ © 2025

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