1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-01 18:10:17 +12:00

Implement vAPI.insertHTML

The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
This commit is contained in:
Deathamns 2015-01-12 20:39:23 +01:00 committed by gorhill
parent bbfcb4eea9
commit 08403a44f8

View file

@ -0,0 +1 @@
/* Firefox: no platform-specific code */