Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
Update cloak.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding4Hours authored Oct 8, 2023
1 parent 3a0a13b commit fb5c08e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/js/cloak.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
let blobUrl=URL.createObjectURL(blob);
open(blobUrl),URL.revokeObjectURL(blobUrl);
} else if (option === 'popup') {
var url = window.location.href;
var myWindow1 = window.open('about:blank',height='300',width='500');
myWindow1.document.write('<iframe src=${url}></iframe>');
window.location.replace('https://google.com/');
var iframe = win.document.createElement("iframe");
iframe.src = window.location.href
window.location.replace('https://google.com/');
} else if (option === 'ab') {
var url = window.location.href;
var urlObj = new window.URL(window.location.href);
Expand Down

0 comments on commit fb5c08e

Please sign in to comment.