你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/490282-ruffle-flash-player,源站連結 點此以跳轉

Ruffle Flash Player

Play flash (.swf) files



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/490282/Ruffle%20Flash%20Player.user.js

安装此脚本?
作者
Schimon
日安装量
0
总安装量
105
评分
0 0 0
版本
25.12
创建于
2024-03-19
更新于
2025-12-01
大小
1.7 KB
许可证
MIT
适用于
所有网站

Help making ruffle to work


⚡ Flash Player

Enable support of Flash files.

Technicality

  1. This userscript checks for .swf elements on every page;
  2. Upon detection of an .swf element, a bar would show up at the top of a page;
  3. Once the bar is clicked upon, the script would load Ruffle (from CDN unpkg.com), and will set "Ruffle" instances for every flash object on a given page.

Testing

You can test this userscript at randomfoo.net (presentation) and andkon.com (game).

About

  • This userscript uses Ruffle to make it possible to play .swf files.
  • See also: version of swf2js.

Help

This script calls external CDN every time you activate it. It would be preferable to load it from your own machine. See Help making ruffle to work.

Bookmarklet

Bookmarklet version of this userscript:

javascript:(function(){'use strict';let ruffleScript=document.createElement('script');ruffleScript.src='https://unpkg.com/@ruffle-rs/ruffle';document.head.appendChild(ruffleScript)})();

Recommended Userscripts


Please visit our counterparts

Read this: A Post-Mortem Of Ruffle's Removal From Addons Repository.

Libraries

  • Ruffle https://ruffle.rs ruffle is a Flash Player emulator built in the Rust programming language

  • swf2js https://swf2js.com swf2js is Flash Player Runtime Engine written in pure JavaScript


Upcoming changes

  • Handle full-view (i.e. when page is opened on .swf);
  • document.contentType is application/x-shockwave-flash or text/plain;
  • Check for HTTP 404 status.

🦅 Designed for Falkon web browser