Custom Scripts
Writing a custom script
setTimeout(function() {
const pageContains = function(text) {
const body = document.body.innerHTML;
if (body.search(text) > -1) return true;
else return false;
}
if (window.location.href.includes("https://login.microsoftonline.com/") {
if (pageContains("You are now logged off")) {
android.quit();
}
}
}, 300);Configuring the Browser to use the script
Last updated