Project

General

Profile

« Previous | Next » 

Revision 2bd35bc4

Added by koszko almost 2 years ago

rename the extension to "Haketilo"

View differences:

content/page_actions.js
1 1
/**
2
 * Hachette handling of page actions in content scripts
2
 * This file is part of Haketilo.
3
 *
4
 * Function: Handle page actions in a content script.
3 5
 *
4 6
 * Copyright (C) 2021 Wojtek Kosior
5 7
 * Redistribution terms are gathered in the `copyright' file.
......
60 62
    let script = document.createElement("script");
61 63
    script.textContent = script_text;
62 64
    script.setAttribute("nonce", nonce);
63
    script._hachette_payload = true;
65
    script.haketilo_payload = true;
64 66
    document.body.appendChild(script);
65 67

  
66 68
    report_script(script_text);

Also available in: Unified diff