/usr/share/webext/https-everywhere/pages/send-message.js is in webext-https-everywhere 2018.8.22-1~deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | /* exported sendMessage */
"use strict";
function sendMessage(type, object, callback) {
chrome.runtime.sendMessage({ type, object }, callback);
}
|