Btw, doing some digging I was able to find the following methods in window.nativeBridge:
Code:
accessHasharrayProperty
cancelPendingDismiss
createFlashTrigger
clearFlashTrigger
dbgCmd
devcapInitialize
devcapIsAvailable
devcapGetInt
devcapGetString
dismissChrome
dismissMe
flash
getAppId
getDynamicConfigValue
getIntLipcProperty
getScreenSize
getStringLipcProperty
getVisibilityEvents
getWindowPosition
hideKb
hideMe
isBricked
isMaxPasswordAttemptPolicyEnabled
logDbg
logDbgNum
logInfo
logString
logTime
logWarn
logError
messagePillowCase
raiseChrome
redraw
registerClientParamsCallback
registerEventsWatchCallback
setAcceptFocus
setIntLipcProperty - nativeBridge.setLipcProperty("com.lab126.system", "deviceLocaleSelected", "");
setLipcProperty
setWindowPosition
setWindowSize
setWindowTitle
showDialog
showKb
showMe
subscribeToEvent
along with some wierd stuff with:
Code:
debugFormat
createDebugBridge
also for lipc stuff
Code:
setIntLipcProperty
getIntLipcProperty
getStringLipcProperty
accessHasharrayProperty
finally some additional functions that aren't above:
Code:
checkFileFlag(filename) - Checks if file exists
sendLipcEvent - nativeBridge.sendLipcEvent("com.lab126.pillow","bootSplashInit", "");
recordDeviceMetric - nativeBridge.recordDeviceMetric("com.lab126.oobe", "changeLocale", that.selectedLanguageWidget.id, 1, 0, METRIC_PRIORITY_LOW, METRIC_TYPE_COUNTER);
deleteDemoModeFlagFile() - No arguments, delete demo mode file
There's so much stuff too scattered around the forum and firmware
Honestly, the number of functions is insane, and this isn't even all of them lol
don't even ask me what isBricked is supposed to be for...