diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-09-03 19:40:45 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-09-03 19:40:45 +0200 |
commit | c12b9ee3535f5a4515c164b020dfc08df8f1bfbd (patch) | |
tree | 1269f006494771049ad74338a30c3adb420e8407 /content/activity_info_server.js | |
parent | d1d5d4fb2447289029c0075db0ccfd5c22597e88 (diff) | |
download | browser-extension-c12b9ee3535f5a4515c164b020dfc08df8f1bfbd.tar.gz browser-extension-c12b9ee3535f5a4515c164b020dfc08df8f1bfbd.zip |
disable payload injection on non-html pages
Diffstat (limited to 'content/activity_info_server.js')
-rw-r--r-- | content/activity_info_server.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/activity_info_server.js b/content/activity_info_server.js index 81a25fb..beecb1a 100644 --- a/content/activity_info_server.js +++ b/content/activity_info_server.js @@ -44,6 +44,11 @@ function report_settings(settings) report_activity("settings", settings); } +function report_content_type(content_type) +{ + report_activity("content_type", content_type); +} + function report_repo_query_action(update, port) { report_activity_oneshot("repo_query_action", update, port); @@ -91,5 +96,6 @@ function start_activity_info_server() * EXPORT start_activity_info_server * EXPORT report_script * EXPORT report_settings + * EXPORT report_content_type * EXPORTS_END */ |