About this page

Unsafe assignment to innerHTML - Development - Mozilla Discourse

https://discourse.mozilla.org/t/unsafe-assignment-to-innerhtml/93087

“I have developed an add-on that adds a tooltip button in webpages for performing a search on social media websites. Till now I used to have standard text in the button using the following code: myVariable.innerHTML = "…” (the page’s own description)

Topic
Not categorised yet
Quality
Not rated yet
Language
English
Text on page
1,166 characters
Page size
30 kB
Answered
OK (200), HTML
Last read
7 Jul 2025
In our index since
7 Jul 2025
Safe search
Not checked yet
Links to it
4 links from 1 site

More from discourse.mozilla.org

This site's best pages we know: ranked by how many other sites link to them.

All pages from this site ›

Tools for this page

Other sites that can tell you more. Plain links: we don't track where you go.

Archive

About the site

Discussions

For web makers

“Not rated yet” and similar notes are shown on purpose: we say what we haven't measured, so the page doesn't look emptier or better than it is.