`GM_addElement` missing
See original GitHub issueWhat is the problem?
Scripts that use GM_addElement are completely broken 😦
How to reproduce it?
- Install https://raw.githubusercontent.com/SNDST00M/material-dynmap/main/src/user.js
- Open https://mc.westeroscraft.com
- Watch the console get lit like a Christmas tree
What is the expected result?
https://www.tampermonkey.net/documentation.php#GM_addElement
What is the actual result?
Doesn’t work and borks the whole script.
What is the result in the upcoming release?
Identical result, there’s been no work in this avenue.
Environment
- Browser: Edge.
- Browser version: 92.0
- Violentmonkey version: 2.13.0
- OS: Windows 10 Home 20H2
Issue Analytics
- State:
- Created 2 years ago
- Comments:23 (11 by maintainers)
Top Results From Across the Web
The dreaded 'Missing field “itemListElement” ' GSC error – halp
Hi friends — I'm trying to solve the critical error, Missing field “itemListElement”, in Google Search Console. I went through…
Read more >GM_* APIs - Violentmonkey
GM_info. An object that exposes information about the current userscript. It has following properties: uuid: string. A unique ID of the script.
Read more >Missing field "itemReviewed" - Support : Judge.me
Hi, I have got several warnings from Google console that my site's 3 pages are missing field "item reviewed" but my those pages...
Read more >Blender material missing undefined socket
I downloaded a sample start blender file for swimming pool model and found the material in the node model are all "undefined sockets"....
Read more >violentmonkey's Language Statistics - Codesti
Issue Title State Comments Created Date Updated Date
`Blob` is `null` of `GM_XHR` closed 6 2022‑12‑21 2022‑12‑15
Missing slash when slash is not required closed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I recently stumbled across https://github.com/Tampermonkey/tampermonkey/issues/881 for the CSP issue. It’s probably why modifying GitHub locally necessitate(d) a custom extension.
Will try ! For now the hack works, although I had to switch from
https://www.youtube.com/embed/mKMaG0cixXw*tohttps://js.stripe.com/*, because the first one has been removed from npmjs.com, I wonder if it’s related and how they found out if it was, since I didn’t published the userscript anywhere else than my own git repo yet.