/usr/share/xul-ext/self-destructing-cookies/data/widget.js is in xul-ext-self-destructing-cookies 0.4.12-1.
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 8 9 10 11 12 13 | function setClass(id, klass) {
var node = document.getElementById(id);
node.className = klass;
}
self.port.on("flash", function() {
setClass("icon", "flash");
window.setTimeout(function(){ setClass("icon", ""); }, 1500);
});
self.port.on("icon", function(arg) {
document.getElementById("icon").src = arg;
});
|