SteamDiscoveryQueueAutoSkipper icon indicating copy to clipboard operation
SteamDiscoveryQueueAutoSkipper copied to clipboard

0.12.0. Compatibility with FireMonkey

Open eberhardweber opened this issue 2 years ago • 1 comments

Previous to version 0.12.0., this script also worked with FireMonkey. As of 0.12.0., however, changes to the script have unfortunately made it stop working on it.

FireMonkey's author suggested adding either

@inject-into page or @run-at document-end

to the script via FireMonkey's User Metadata function, but so far I've had no luck running the script with either addition.

Since the script did work with FireMonkey on version 0.11.1, it might not be a huge change to make it compatible again.

eberhardweber avatar Dec 25 '22 22:12 eberhardweber

Just a heads up to anyone that reads this; it's an easy fix. The issue as mentioned by erosman in the above is due to

SyntaxError: return not in function

on lines 47 & 147 ->

On FireMonkey, click on the script > edit > 'Wrap code in IIFE' image Then save it.

Mx772 avatar Jun 29 '24 17:06 Mx772