To main page | Opera Unite HowTo's
Reset (debug) Interesting function has been found in fileSharing.us\yusef\main.js -
function reset() {
Interestingly it seems to reload scripts. This function seem to be called for every URL called if debugging has been enabled:
if( _debugEnabled ) {
opera.io.webserver.addEventListener( '_request', reset, false );
}
It seems like this may be the way to prevent you from "Stop Service" - "Start Service" debug cycle.
Although something is quite unsettling about that function:
// < afonso> i've just did the purest evil thing that
is possible to do in javascript
eval( stream.read( stream.bytesAvailable ) );
This is quite evil... But what's the worst that can happen? (The filesystem is sandboxed, there's no way to run programs..
Anyway, this should be used only when debugging.
Uniteness
Debug mode in Uniteness does this (reloading scripts) automatically.
|