Ruffle Flash Player

Play flash (.swf) files

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Schimon
日安装量
0
总安装量
95
评分
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