diff options
| author | Teddy Wing | 2019-06-01 22:24:40 +0200 |
|---|---|---|
| committer | Teddy Wing | 2019-06-01 22:24:40 +0200 |
| commit | 013569866de4795ec0829f8434450ca99e05e542 (patch) | |
| tree | 0cc61ae65c2e4f14201450ad71860cc48a597b5f | |
| parent | d51d4368158499474827244206a2b69883f91519 (diff) | |
| download | chrome-copy-urls-from-all-tabs-firefox-webextension.tar.bz2 | |
page.js: Change `innerHTML` to `textContent`firefox-webextension
Fix this warning received during validation while signing the extension
with Mozilla:
Unsafe assignment to innerHTML
Warning: Due to both security and performance concerns, this may not
be set using dynamic values which have not been adequately
sanitized. This can lead to security issues or fairly serious
performance degradation.
| -rw-r--r-- | page.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,3 +1,3 @@ (function() { - document.getElementById('header').innerHTML = generate_file_string(); + document.getElementById('header').textContent = generate_file_string(); })();
\ No newline at end of file |
