scripts/Defaults.js
// Sends a msg back to kanan's window with the name of the script prepended.
Sends a msg back to kanan's window with the name of the script prepended.
Sends a msg back to kanan ' s window with the name of the script prepended .
function msg(str) {
    if (scriptName != undefined) {
        send(scriptName + ": " + str);
    }
    else {
        send(str);
    }
}
function msg ( str ) { if ( scriptName != undefined ) { send ( scriptName + ": " + str ) ; } else { send ( str ) ; } }
Sends a msg back to kanan's window with the name of the script prepended.
Sends a msg back to kanan ' s window with the name of the script prepended .