mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2025-11-21 06:52:06 +00:00
Cleannig
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user