mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2026-10-24 07:58:14 +00:00
Cleannig
This commit is contained in:
1 parent
846f887b53
commit
4b68a80a9b
6 files changed
+1
-36
No files matched your search
@@ -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