question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`GM_addElement` missing

See original GitHub issue

What is the problem?

Scripts that use GM_addElement are completely broken 😦

How to reproduce it?

  1. Install https://raw.githubusercontent.com/SNDST00M/material-dynmap/main/src/user.js
  2. Open https://mc.westeroscraft.com
  3. 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:closed
  • Created 2 years ago
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Aug 10, 2021

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.

0reactions
KaKi87commented, Nov 3, 2021

Will try ! For now the hack works, although I had to switch from https://www.youtube.com/embed/mKMaG0cixXw* to https://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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found