[Bug] Can't find variable: metaParser
Bug Report
Bug Description
I have Stylus installed in Orion on MacOS using the Chrome version. Up until Dec 9, this worked, and I was able to load MastoModern into Stylus and have it affect the website.
https://userstyles.world/style/4773/mastodon-modern
Screenshots
CSS Code
https://codeberg.org/Freeplay/UserStyles/raw/branch/main/mastodon/modern.user.css
System Information
- OS: macOS 15.1.1
- Browser: Orion 0.99.129.5-rc (WebKit 621.1.2.111.4)
- Stylus Version: 2.0.0
Additional Context
I don't have a Mac, so I can't debug the problem. The extension works for me in Chrome or Firefox and I can't imagine how it may be possible for this variable to be missing only in this specific browser.
Can you test an unpacked extension in this browser? Here's a tentative fix: stylus-chrome-mv2-2.0.5.zip
So I can install from Disk and did that. It shows 2.0.5 as the installed version. The error when trying to install the CSS style itself is the same. (I disabled the 2.0.0 version of the extension before clicking on the Install button for the style.)
-Lora
On December 11, 2024, Marisa DeMeglio @.***> wrote:
I don't have a Mac, so I can't debug the problem. The extension works for me in Chrome or Firefox and I can't imagine how it may be possible for this variable to be missing only in this specific browser.
— Reply to this email directly, view it on GitHub <https://github.com/openstyles/stylus/issues/1851#issuecomment- 2537057445>, or unsubscribe <https://github.com/notifications/unsubscribe- auth/ACCWTDATVKLJUY4O6ZUSRKL2FCNXFAVCNFSM6AAAAABTOIZWBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGA2TONBUGU>. You are receiving this because you authored the thread.Message ID: @.***>
Welp, I have no more ideas. Until someone debugs the extension in this browser you can keep using the old version by loading it as unpacked extension: https://github.com/openstyles/stylus/archive/refs/tags/v1.5.51.zip
Maybe you can ask someone in the support forums for this browser?
Going back to 1.5.51 definitely works. I'll file a bug with Orion.
-Lora
On December 11, 2024, Marisa DeMeglio @.***> wrote:
Maybe you can ask someone in the support forums for this browser? Tentatively, its implementation of importScripts is broken.
— Reply to this email directly, view it on GitHub <https://github.com/openstyles/stylus/issues/1851#issuecomment- 2537213367>, or unsubscribe <https://github.com/notifications/unsubscribe- auth/ACCWTDEUGX2PVPZGOC5SO6T2FCT5PAVCNFSM6AAAAABTOIZWBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGIYTGMZWG4>. You are receiving this because you authored the thread.Message ID: @.***>
My guess so far is that importScripts is broken inside SharedWorker of a chrome extension.
I have similar behaviour but it's occurring for me with the Firefox extension, I get the same error as what the OP has.
With the Chrome extension doesn't even recognise that I've clicked "install", it just renders the raw file from GitHub in my Orion window.
Using the Firefox version I'm not even getting that error, as soon as I click Install I get this spinning indefinitely:
I'm seeing a lot of other incompatibilities with the extension though, including inability to import settings from another browser, connecting to cloud syncing, pasting Mozilla format in and saving a snippet manually entered. I suspect the issue is on Orion's end and they'll need to resolve it. I added additional details on their feedback tracker.