Tampermonkey / tampermonkey-editors

Online editor support for Tampermonkey's userscripts
MIT License
11 stars 2 forks source link

[BUG] Tampermonkey Editor Extension Not Working Properly #5

Closed beijixiaohu closed 1 month ago

beijixiaohu commented 3 months ago

Hi, author,

I've been using the Tampermonkey Editors extension to edit Tampermonkey scripts with vscode.dev, and it was working just fine until a few days ago.

But now, it's not working and is throwing an error. Here's the error message I'm seeing:

Uncaught ReferenceError: MutationEvent is not defined
    at v (content.js:3:26)

It seems that starting from Chrome 127, support for MutationEvent has been removed. I think you might need to make some changes to the code.

image

Expected Behavior

Should be working normally.

Actual Behavior

Getting an error.

Specifications

Looking forward to your fix. Thanks a lot! 🙏

GuoChen-thlg commented 3 months ago

+1

ctvigy commented 3 months ago

+1

ctvigy commented 3 months ago

In Chrome, go to chrome://flags, search for "mutation", and set Enable (deprecated) synchronous mutation events to Enabled.

derjanb commented 1 month ago

Fixed by 27529b129ac077c3d51c7a3337810d5573d2e8d3 and #1.0.3 is now in review...