aboutsummaryrefslogtreecommitdiff
path: root/content/page_actions.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-09-13 16:56:44 +0200
committerWojtek Kosior <koszko@koszko.org>2021-09-13 16:56:44 +0200
commit2bd35bc4b0d32b70320b06d932db90e75e89373e (patch)
treed38333de0b9cf54d31d35812784aeca367bea42e /content/page_actions.js
parent947fbdefffe0f6010e32abbfdce2f4b388d3f7f7 (diff)
downloadbrowser-extension-2bd35bc4b0d32b70320b06d932db90e75e89373e.tar.gz
browser-extension-2bd35bc4b0d32b70320b06d932db90e75e89373e.zip
rename the extension to "Haketilo"
Diffstat (limited to 'content/page_actions.js')
-rw-r--r--content/page_actions.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/page_actions.js b/content/page_actions.js
index 040b4ab..db7c352 100644
--- a/content/page_actions.js
+++ b/content/page_actions.js
@@ -1,5 +1,7 @@
/**
- * Hachette handling of page actions in content scripts
+ * This file is part of Haketilo.
+ *
+ * Function: Handle page actions in a content script.
*
* Copyright (C) 2021 Wojtek Kosior
* Redistribution terms are gathered in the `copyright' file.
@@ -60,7 +62,7 @@ function add_script(script_text)
let script = document.createElement("script");
script.textContent = script_text;
script.setAttribute("nonce", nonce);
- script._hachette_payload = true;
+ script.haketilo_payload = true;
document.body.appendChild(script);
report_script(script_text);