Tampermonkey / tampermonkey-editors

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

[BUG] Tampermonkey Editor Extension Not Working Properly #5

Open beijixiaohu opened 1 month ago

beijixiaohu commented 1 month 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 1 month ago

+1

ctvigy commented 1 month ago

+1

ctvigy commented 1 month ago

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