/usr/share/gnome-shell/extensions/bettervolume@tudmotu.com/convenience.js is in gnome-shell-extension-better-volume 0.0-git20161106.ff67408-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 14 15 16 17 18 19 20 | // Print objects... why no dev tools
function dbPrintObj (name, obj, recurse, _indent) {
let prefix = '';
let indent = typeof _indent === 'number' ? _indent : 0;
for (let i = 0; i < indent; i++) {
prefix += ' ';
}
log(prefix + '--------------');
log(prefix + name);
log(prefix + '--------------');
for (let k in obj) {
if (typeof obj[k] === 'object' && recurse) {
dbPrintObj(name + '::' + k, obj[k], true, indent + 1);
}
else {
log(prefix + k, typeof obj[k] === 'function' ? '[Func]' : obj[k]);
}
}
}
|