Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chrome.extension.sendRequest({action: "pagematchurls", url: window.location.href}, function(response) {
- if (response.isOk) {
- chrome.extension.sendRequest({action: "mirrors"}, function(resp) {
- for (var i = 0; i < resp.length; i++) {
- if (response.mirrorName == resp[i].mirrorName) {
- eval(resp[i].jsCode);
- mirrors[mirrors.length] = eval(resp[i].objectName);
- break;
- }
- }
- removeBanner();
- initPage();
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment