Ruffle Flash Player

Play flash (.swf) files

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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