1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2025-11-21 06:52:06 +00:00
This commit is contained in:
2017-09-30 00:05:33 +02:00
parent 846f887b53
commit 4b68a80a9b
6 changed files with 1 additions and 36 deletions

View File

@@ -1,11 +0,0 @@
window.onload = function (){
var url = 'https://www.matmoul.ch/';
var xmlHttp = new XMLHttpRequest();
xmlHttp.timeout = 2000;
xmlHttp.open('GET', url, true);
xmlHttp.onload = function(){
var iframe = document.getElementById('IFrame');
iframe.contentWindow.document.write(xmlHttp.responseText.replace('<head>', '<head><base href="' + url + '">'));
}
xmlHttp.send(null);
}