You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to access a local device page from another page (192.168.1.2) on the same network but that device page doesn't have remote access so i can't use your tool. .... and using extensions won't work cause i want to test it on chrome phones app .... and i can't edit that local device page code .
i want to make a login script that works what ever local CORS Anywhere server was available or not !!
any ideas ?
i think this may be the fix but how can i make it available at local and public at the same time ?!
here is the code that i want to use
c0a80101.c0a80102.rbndr.us is 192.168.1.1 and 192.168.1.2 combined .
i want at the first response the answer be 192.168.1.2 and then when the internet connection is back
i want the second response to be 192.168.1.1 and the code get's executed only if it received the second response correctly !!
<!DOCTYPE html>
<html>
<body>
<p id="demo"></p>
<script>
var http = new XMLHttpRequest();
var params = 'frashnum=&action=login&Frm_Logintoken="+results+"&Username=admin&Password=test';
var url = 'http://c0a80101.c0a80102.rbndr.us/';
http.open('POST', url, true);
//Send the proper header information along with the request
http.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
http.onload = function myfunction() {
let str = (http.responseText);
alert(str)
let pattern =/\bgetObj\("Frm_Logintoken"\)\.value = "([^"]+)";/;
let results = console.log(str.match(pattern)[1]);
return results;
};
var test = myfunction();
document.write(test);
http.send(params);
</script>
</body>
</html>
The text was updated successfully, but these errors were encountered:
i want to access a local device page from another page (192.168.1.2) on the same network but that device page doesn't have remote access so i can't use your tool. .... and using extensions won't work cause i want to test it on chrome phones app .... and i can't edit that local device page code .
i want to make a login script that works what ever local CORS Anywhere server was available or not !!
any ideas ?
i think this may be the fix but how can i make it available at local and public at the same time ?!
here is the code that i want to use
c0a80101.c0a80102.rbndr.us is 192.168.1.1 and 192.168.1.2 combined .
i want at the first response the answer be 192.168.1.2 and then when the internet connection is back
i want the second response to be 192.168.1.1 and the code get's executed only if it received the second response correctly !!
The text was updated successfully, but these errors were encountered: