Open erosman opened 2 years ago
Reference: https://github.com/erosman/support/issues/507
In FireMonkey (4chan-X 1.14.22.4, Firefox 121, FM 2.72), the script can't use the BroadcastChannel API (simply doesn't exist); so the following check fails and the code fall-backs to the GM_* code: https://github.com/ccd0/4chan-x/blob/103c9849cc8aeba4b1521dad5176ac31d9ba69d3/src/platform/%24.coffee#L654-L656 We couldn't find why, help would be appreciated.
Ref: https://www.4chan-x.net/builds/4chan-X.user.js
FireMonkey supports booth
GM_*
&GM.*
API, but favoursasync GM.*
if a userscript supports both.Therefore, in the
4chan-X.user.js
, thesync GM_*
support are removed, resulting inUserscript checks for the type of API to use which is fine everywhere but on line 5550 it causes an error in FireMonkey.
Line 5550