Flash Player (ruffle)

Play flash (.swf) files

Author
schimon
Daily installs
0
Total installs
51
Ratings
0 0 0
Version
24.04
Created
2024-03-19
Updated
2024-04-06
License
MIT
Applies to
All sites

Help making ruffle to work


⚡ Flash Player

Enable support for 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

BlockFlash2

Hides Flash animations until you click on individual [Play Flash] buttons. (v 0.4.) (Update of BlockFlash and BlockFlash-Revisited).

FlashBlock

Press Alt+F or Ctrl+Shift+F for permanent unblocking.

BlockFlash-Revisited

Do not start Flash animation until you click on them.

removeFLash

Removes Flash Commercials.

Hide Objects

Hides object and embed tag contents by replacing it with an empty div. Click on the div to reveal the object tag contents.


Please visit our counterparts

Web Extensions

FlashPlayer

Open SWF links of Adobe Animate (Flash) in a pure sandboxed JavaScript emulator.

Ruffle

Ruffle seamlessly plays Flash content on sites you visit. Enjoy your favorite Flash games from yesteryear!

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

Libraries

Ruffle

ruffle is a Flash Player emulator built in the Rust programming language

swf2js

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