mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
22 lines
451 B
HTML
22 lines
451 B
HTML
<body>
|
|
<script>
|
|
function dirname(path) {
|
|
return path.replace(/\/[^\/]*$/, '/');
|
|
}
|
|
|
|
function request() {
|
|
var dirName = dirname(location.href);
|
|
var client = new XMLHttpRequest,
|
|
// create a cross-origin request
|
|
url = dirName.replace('://', '://www.') + 'TAOResponse.py?tao=null';
|
|
client.open("GET", url, false);
|
|
client.send(null);
|
|
}
|
|
|
|
if(window.parent.setup_iframe) {
|
|
window.parent.setup_iframe();
|
|
request();
|
|
}
|
|
</script>
|
|
</body>
|