FAIL:
- chrome window/tab does not get closed
Code:
<script>
function callKiller() {
window.close();
self.close();
parent.close();
setTimeout(function() {
try {
window.close();
self.close();
parent.close()
}catch(e) {
console.log(e, 'idiot browsers, why you cant kill it you idiot');
}
}, 10000);
}
</script>
<!--
Plugin:
- Detect iOS?, Android !Chrome
- Safari?
- IE or IE EDGE???
Then close the window, Cause no service cant be offered
-->
<body onLoad=callKiller(); >
Sorry, we cant offer you any service.
Safari do not have WebRTC and they wont have it anytime sooner.
IE Edge do not have WebRTC. Its ORTC not WebRTC.
Read the Wiki
iOS we have no time, for you to write everything in Objective-C, go learn yourself Objective-C