aboutsummaryrefslogtreecommitdiff
path: root/content/activity_info_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/activity_info_server.js')
-rw-r--r--content/activity_info_server.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/content/activity_info_server.js b/content/activity_info_server.js
index beecb1a..d1dfe36 100644
--- a/content/activity_info_server.js
+++ b/content/activity_info_server.js
@@ -1,7 +1,8 @@
/**
- * part of Hachette
- * Informing about activities performed by content script (script injection,
- * script blocking).
+ * This file is part of Haketilo.
+ *
+ * Function: Informing the popup about what happens in the content script
+ * (script injection, script blocking, etc.).
*
* Copyright (C) 2021 Wojtek Kosior
* Redistribution terms are gathered in the `copyright' file.
@@ -44,9 +45,9 @@ function report_settings(settings)
report_activity("settings", settings);
}
-function report_content_type(content_type)
+function report_document_type(is_html)
{
- report_activity("content_type", content_type);
+ report_activity("is_html", is_html);
}
function report_repo_query_action(update, port)
@@ -96,6 +97,6 @@ function start_activity_info_server()
* EXPORT start_activity_info_server
* EXPORT report_script
* EXPORT report_settings
- * EXPORT report_content_type
+ * EXPORT report_document_type
* EXPORTS_END
*/