From 08403a44f864f455cb7d8b0624fc7da0ebb2fe3b Mon Sep 17 00:00:00 2001 From: Deathamns Date: Mon, 12 Jan 2015 20:39:23 +0100 Subject: [PATCH] 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. --- platform/firefox/vapi-popup.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 platform/firefox/vapi-popup.js diff --git a/platform/firefox/vapi-popup.js b/platform/firefox/vapi-popup.js new file mode 100644 index 0000000..73250bb --- /dev/null +++ b/platform/firefox/vapi-popup.js @@ -0,0 +1 @@ +/* Firefox: no platform-specific code */ \ No newline at end of file