Kongregate Flash games fixer

You can now chose between Flash, SuperNova and Ruffle to play Flash games on Kongregate!

As of 2022-08-20. See the latest version.

Author
Matrix4348
Ratings
0 0 0
Version
4.0.1
Created
2022-01-10
Updated
2022-08-20
Size
39.8 KB
License
MIT
Applies to

In the beginning of 2021, the Kongregate staff tried solving the discontinuation of Adobe Flash player by making their Flash games playable only through the Supernova player. By doing so, they actually broke more thing. With this user script, you will be able to chose to play through either Flash (provided you got a working version of Flash, and a browser that supports it, of course...), SuperNova (properly implemented!) or Ruffle (which is still in active, but slow, development).

To switch player (or simply reload the game), click on the appropriate button, right above the game. Also, note that when the user script goes for SuperNova, it will load both the interface (the page which asks to download it and the page with the "play" button) AND the game (one less click to make because, afterall, click is time and time is money!).

Finally, when loading a Flash game page, the player used to load the game is chosen based on your plugins, browser and operating system: Flash if you can use it, else SuperNova for Windows users and Ruffle for the others.

Note: the Kongregate Flash games fixer is not meant to work on games that are hosted outside the Kongregate servers (in other words, the multiplayer games [more or less]; for example Crusaders of the Lost Idols). If you really want it to be compatible with one of these games, send me a message on my Kongregate profile and I will see what I can do (however, I cannot guarantee I would succeed).

Additional features

  • Kongai's match chat is working.
  • Kongai's in-game "card album" button opens the correct URL.
  • When viewing someone else's card album, one can switch between different card sets without being redirected to their own card album.

Known issues

  • Flash: Games that are sitelocked to http://kongregate.com but are loaded in a https page will not load normally, if at all. I cannot do anything about that, it is a problem that had existed for years prior to 2021. There exists fixes for some of them, so if you stumble upon one, read the comments (sometimes, right-clicking and clicking "play" will solve this).

  • SuperNova (no control over that): the API does not work, there is no right-click menu, and the player only works on Windows.

  • Ruffle is still in development, so not all game will work (only a third of them may be currently working) and not all games that work will work perfectly (this includes high scores submission). On top of this, due to Kongregate's bad habit to host their files on too many different subdomains, another issue raised for which my workaround slightly lowers the number of playable games. However, once Ruffle is 100% finished, all issues should disappear. Also, Ruffle does not work in some browsers (like Pale Moon).

  • Kongai is only playable with Flash right now (because they build their games like they built their website...).

If a player does not work, switch to another one, or switch browser. The Kongregate Flash games fixer has been successfully tested on Firefox, Edge, Chrome, Pale Moon, White Star, Basilisk and Waterfox Classic. However, current versions of the first three no longer support Flash.

Feel free to report any not-mentionned bug or give suggestions by leaving a review here or a message on my Kongregate profile. If you get good results on any unmentioned browser, then I would love to know it, too, so I can add it to the list.

Changelogs

(August 20th, 2022) Version 4.0.1 released:

  • Set the buttons' position to match the one of the normal buttons.

(August 20th, 2022) Version 4.0 released:

  • Added the option to play games with Ruffle, even though only a third of Kongregate games may currently be playable.
  • Changed the default swf player to Ruffle for non-Windows users without Flash.
  • Most important feature ever: added icons to the buttons!

(August 7th, 2022) Version 3.4.3 released:

  • When playing Kongai, private conversations will now occur in both the "chat" and "match chat" tabs, so that players no longer miss messages.
  • Last update related to Kongai's match chat (and Kongai in general): added the error notice for too long messages, added the "characters remaining" count and visually improved the tab to make it look neater (and normal).

(July 22nd, 2022) Version 3.4.2 released:

  • Added the missing wmode Flash parameter to the cases where it is needed.
  • Kongai's match chat is now working!
  • When viewing someone else's Kongai card album, users can now switch card sets without being redirected to their own card album.

(April 17th, 2022) Version 3.4.1 released:

  • Fixed my previous fix of the images in Kongai's match chat... They were only loading if Flash was allowed to run after the page loaded.

(April 10th, 2022) Version 3.4 released:

  • Fixed images in Kongai's match chat.
  • Kongai's in-game "view card album" has been opening the wrong link for ages, so I have decided that a URL of the type www.kongregate.com/accounts/username/card_album shall be redirected to www.kongregate.com/accounts/username/card_albums.

(February 26th, 2022) Version 3.3.3 released:

  • If your browser is not fully compatible with the SuperNova code (which would lead to the SuperNova interface not loading), then instead of a white/black/whatever screen, you will see a replacement to the interface which allows to download the SuperNova player and launch the game (in other words, it is a simplified but maybe better version of the official one!). It may also appear if the loading of a game page is too slow, but I guess it is not a big problem.
  • Changed how certain values were obtained, which might prevent some bugs in the future.

(February 22nd, 2022) Version 3.3.2 released:

  • Changed how certain values were obtained. This fixed a few bugs and may prevent some future bugs.

(February 18th, 2022) Version 3.3.1 released:

  • Fixed a bug that appeared with last update, which made the games load twice instead of once with SuperNova in some browsers.

(February 17th, 2022) Version 3.3 released:

  • Partially fixed SuperNova in most (if not all) browsers that are incompatible with it: the interface will not load (thus, you will see a blank screen, a black screen or something like that in the game area), but as long as the SuperNova is already installed on you computer, the games should load. (Successfully tested on Pale Moon and Basilisk.)

(February 9th, 2022) Version 3.2.3 released:

  • Trying to play with Flash in a browser that does not support it should now always bring some kind of "this plugin is not supported" message.

(February 8th, 2022) Version 3.2.2 released:

  • It seems that the API and other things were not loading on certain browsers (like Pale Moon) because the game was loading too early for them. Oups! Fixed.

(February 7th, 2022) Version 3.2.1 released:

  • Fixed an oversight on my part regarding certain game shell games. They should now be loading.

(February 7th, 2022) Version 3.2 released:

  • Games that are supposed to load inside a game shell now do so when using Flash.
  • The Kongregate score API should now be loading at least in every games that still had a working API before 2021!

(February 6th, 2022) Version 3.1 released:

  • The API is now working with all the Flash games that are not supposed to load inside a game shell, except the games on which the API broke prior to 2021 and maybe a few other games.

(February 5th, 2022) Version 3.0 released:

  • It looks like I found how to get the score submission API to work for a few games (examples: Epic Coaster, Mission in Space: the lost colony, Road of the Dead). I do not know why it does not fix it for more games, but I am working on it.

(January 23rd, 2022) Version 2.9.1 released:

  • Fixed the bgcolor parameter for Flash playing, after realizing that it was not supposed to be the same for every games.

(January 17th, 2022) Version 2.9 released:

  • Simplified the code for SuperNova, which fixed some issues. Now it should always load properly (as long as the browser is itself compatible with the SuperNova player).
  • When going for SuperNova, both the interface and the game will load. One less click, yay!
  • Configured the default player to be SuperNova for non-Windows users and users whose browser does not accept Flash, Flash for the others.
  • Added code for Ruffle, but sadly, unless the Ruffle appears magically and SPECIFICALLY somewhere on the Kongregate servers, it will be useless. Though, if it happens, I will just have to activate the code.

(January 14th, 2022) Version 2.0.1 released:

  • Configured Flash to truly be the default player to use when the game page loads... (Oups!)

(January 14th, 2022) Version 2.0 released:

  • Added the SuperNova player as a way to play Flash games.
  • Added buttons above the game to switch player.
  • Configured Flash to be the default player to use when the game page loads.

(January 10th, 2022) Version 1.0 released.