当前位置 : 主页 > 网络编程 > JavaScript >

ins download

来源:互联网 收集:自由互联 发布时间:2021-06-30
gistfile1.txt javascript:(function()%7B%3B"use strict"%3Bfunction localize(e)%7Bvar t%3Darguments.length%3D1%7C%7Cvoid 0%3D%3D%3Darguments%5B1%5D%3FLANG_DEFAULT:arguments%5B1%5D%3Btry%7Bif(localization.langs.hasOwnProperty(t)%7C%7C(t%3D"en-
gistfile1.txt
javascript:(function()%7B%3B"use strict"%3Bfunction localize(e)%7Bvar t%3Darguments.length<%3D1%7C%7Cvoid 0%3D%3D%3Darguments%5B1%5D%3FLANG_DEFAULT:arguments%5B1%5D%3Btry%7Bif(localization.langs.hasOwnProperty(t)%7C%7C(t%3D"en-US"),localization.langs%5Bt%5D%5Be%5D)return localization.langs%5Bt%5D%5Be%5D%7Dcatch(a)%7Breturn console.error("%5Binstantgram%5DLOC error:",a),"ops, a error ocurred in localization system. Enter in https://github.com/theus/instantgram/issues/new and open a issue with this code: %27LOC_dont_found_str_neither_default:%5B"%2Bt%2B"->"%2Be%2B"%5D%27%5Cn    for more information open the console"%7D%7Dfunction outdated(e)%7Bconsole.warn(localize("modules.update%40oudated_outdated")),console.warn(localize("modules.update%40oudated_localInfo").replace("%24%7Bdata.version%7D",e.version).replace("%24%7Bdata.gitVersion%7D",e.gitVersion))%7Dfunction determineIfGetUpdateIsNecessary()%7Bvar e%3DlocalStorage.getItem("instantgram")%3Breturn!e%7C%7C(e%3DJSON.parse(e),e.version!%3D%3De.gitVersion%26%26outdated(e),Date.now()>e.dateExpiration)%7Dfunction update(e)%7Bvar t%3De.replace(/%5C./g,"")%3Bif(t%3DparseInt(t),determineIfGetUpdateIsNecessary())%7Bvar a%3Dnew XMLHttpRequest%3Ba.addEventListener("readystatechange",function()%7Bif(console.info(localize("modules.update%40determineIfGetUpdateIsNecessary_contacting")),4%3D%3D%3Dthis.readyState)%7Bvar a%3Dnew Date%3Ba.setDate(a.getDate()%2B2),localStorage.setItem("instantgram",JSON.stringify(%7Bversion:e,gitVersion:JSON.parse(this.responseText).version,lastVerification:Date.now(),dateExpiration:a.valueOf()%7D))%3Bvar o%3DJSON.parse(this.responseText).version%3Bif(o%3Do.replace(/%5C./g,""),o%3DparseInt(o),console.info(localize("modules.update%40determineIfGetUpdateIsNecessary_updated")),t
 
  0%26%26t.right>0%26%26t.left<(window.innerWidth%7C%7Cdocument.documentElement.clientWidth)%26%26t.top<(window.innerHeight%7C%7Cdocument.documentElement.clientHeight)%7Dvar localization%3D%7Blangs:%7B"en-US":%7B"helpers.localize_defaultlang":"%5Binstantgram%5D seted language: %24%7BLANG_DEFAULT%7D %5Cnfor more information about languages supported, access http://theus.github.io/instantgram","modules.update%40oudated_outdated":"%5Binstantgram%5D is outdated. Please go to http://theus.github.io/instantgram to update","modules.update%40oudated_localInfo":"%5Binstantgram%5D local version: %24%7Bdata.version%7D %7C new update: %24%7Bdata.gitVersion%7D","modules.update%40determineIfGetUpdateIsNecessary_contacting":"%5Binstantgram%5D is contacting server looking for updates...","modules.update%40determineIfGetUpdateIsNecessary_updated":"%5Binstantgram%5D updated local data","modules.update%40determineIfGetUpdateIsNecessary_%40alert_found":"%5Binstantgram%5D found a update.%5Cn please go to theus.github.io/instantgram for update","index%40alert_onlyWorks":"%5Binstantgram%5D only works in instagram.com","index%23program%23modal%40alert_dontFound":"%5Binstantgram%5D don%27t found a image in instagram post. Try open the link in new tab.","index%23program%23post%40alert_dontFound":"ops, %5Binstantgram%5D don%27t found the image :(","index%23program%23screen%40alert_dontFound":"%5Binstantgram%5D the search in screen found more than 1 image. Are you in a profile%3F If yes, open a photo before run %5Binstantgram%5D","index%23program%40alert_dontFound":"ops, are you in a instagram post%3F ex: instagram.com/p/82jd828jd"%7D,"pt-BR":%7B"helpers.localize_defaultlang":"%5Binstantgram%5D idioma configurado: %24%7BLANG_DEFAULT%7D %5Cnpara mais informações sobre os idiomas suportados, acesse http://theus.github.io/instantgram","modules.update%40oudated_outdated":"%5Binstantgram%5D está desatualizado. Acesse http://theus.github.io/instantgram para atualizar","modules.update%40oudated_localInfo":"%5Binstantgram%5D versão local: %24%7Bdata.version%7D %7C nova versão: %24%7Bdata.gitVersion%7D","modules.update%40determineIfGetUpdateIsNecessary_contacting":"%5Binstantgram%5D está procurando atualizações...","modules.update%40determineIfGetUpdateIsNecessary_updated":"%5Binstantgram%5D informações locais atualizadas","modules.update%40determineIfGetUpdateIsNecessary_%40alert_found":"%5Binstantgram%5D encontrou uma atualização.%5Cn acesse theus.github.io/instantgram para atualizar","index%40alert_onlyWorks":"%5Binstantgram%5D somente funciona no instagram.com","index%23program%23modal%40alert_dontFound":"%5Binstantgram%5D não encontrou uma imagem em um post. Tente abrir o link em uma nova aba.","index%23program%23post%40alert_dontFound":"ops, %5Binstantgram%5D não encontrou a imagem :(","index%23program%23screen%40alert_dontFound":"%5Binstantgram%5D a procura por imagem na tela encontrou mais de 1 imagem. Você está em um perfil%3F Se sim, abra alguma imagem antes de rodar o %5Binstantgram%5D","index%23program%40alert_dontFound":"ops, você está em algum post do instagram%3F ex: instagram.com/p/82jd828jd"%7D%7D%7D,LANG_DEFAULT%3Dnavigator.language%3Bconsole.info(localize("helpers.localize_defaultlang").replace("%24%7BLANG_DEFAULT%7D",LANG_DEFAULT))%3Bvar VERSION%3D"2.3.0",hostname%3Dlocation.hostname,path%3Dlocation.pathname,regex_original_image%3D/%5C/%5Ba-z%5D%2B%5Cd%2B%5Ba-z%5D%3Fx%5Cd%2B%5Ba-z%5D%3F/,regex_path%3D/%5E%5C/p%5C//,regex_image_id%3D/pImage_%5Cd%2B/,regex_hostname%3D/instagram%5C.com/%3Bif(regex_hostname.test(hostname)%7C%7Calert(localize("index%40alert_onlyWorks")),regex_hostname.test(hostname))%7Bvar foundVideo%3D!1%3Btry%7Be:%7Bvar _iteratorNormalCompletion%3D!0,_didIteratorError%3D!1,_iteratorError%3Dvoid 0%3Btry%7Bfor(var _iterator%3Ddocument.querySelectorAll("video")%5BSymbol.iterator%5D(),_step%3B!(_iteratorNormalCompletion%3D(_step%3D_iterator.next()).done)%3B_iteratorNormalCompletion%3D!0)%7Bvar video%3D_step.value%3Bif(isElementInViewport(video))%7Bvar video_link%3Dvideo.src%3Bvideo_link%26%26(window.open(video_link),foundVideo%3D!0,alertNotInInstagramPost%3D!0)%3Bbreak e%7D%7D%7Dcatch(e)%7B_didIteratorError%3D!0,_iteratorError%3De%7Dfinally%7Btry%7B!_iteratorNormalCompletion%26%26_iterator.return%26%26_iterator.return()%7Dfinally%7Bif(_didIteratorError)throw _iteratorError%7D%7D%7D%7Dcatch(e)%7Bconsole.error("%5Binstantgram%5D "%2BVERSION,e)%7Dif(regex_path.test(path))%7Bif(!foundVideo)%7Btry%7Bif(2%3D%3D%3Ddocument.getElementsByTagName("article").length)%7Bvar modal%3Ddocument.getElementsByTagName("article")%5B1%5D,modal_image%3Dmodal.querySelector("header %2B div img").src%3Bif(modal_image)%7Bvar image_link%3Dregex_original_image.test(modal_image)%3Fmodal_image.replace(regex_original_image,""):modal_image%3Bwindow.open(image_link)%7Delse alert(localize("index%23program%23modal%40alert_dontFound"))%7D%7Dcatch(e)%7Bconsole.error("%5Binstantgram%5D "%2BVERSION,e)%7Dtry%7Bif(1%3D%3D%3Ddocument.getElementsByTagName("article").length)%7Bvar post%3Ddocument.getElementsByTagName("article")%5B0%5D,post_image%3Ddocument.querySelector("article > div img").src,image_link%3Dregex_original_image.test(post_image)%3Fpost_image.replace(regex_original_image,""):post_image%3Bimage_link%3Fwindow.open(image_link):alert(localize("index%23program%23post%40alert_dontFound"))%7D%7Dcatch(e)%7Bconsole.error("%5Binstantgram%5D "%2BVERSION,e)%7D%7D%7Delse var alertNotInInstagramPost%3D!0%3Btry%7Bif(!image_link%26%26!foundVideo)e:%7Bvar _iteratorNormalCompletion2%3D!0,_didIteratorError2%3D!1,_iteratorError2%3Dvoid 0%3Btry%7Bfor(var _iterator2%3Ddocument.images%5BSymbol.iterator%5D(),_step2%3B!(_iteratorNormalCompletion2%3D(_step2%3D_iterator2.next()).done)%3B_iteratorNormalCompletion2%3D!0)%7Bvar image%3D_step2.value%3Bif(regex_image_id.test(image.id)%26%26isElementInViewport(image))%7Bvar image_link%3Dregex_original_image.test(image.src)%3Fimage.src.replace(regex_original_image,""):image.src%3Bimage_link%3Fwindow.open(image_link):alert(localize("index%23program%23screen%40alert_dontFound")),alertNotInInstagramPost%3D!1%3Bbreak e%7D%7D%7Dcatch(e)%7B_didIteratorError2%3D!0,_iteratorError2%3De%7Dfinally%7Btry%7B!_iteratorNormalCompletion2%26%26_iterator2.return%26%26_iterator2.return()%7Dfinally%7Bif(_didIteratorError2)throw _iteratorError2%7D%7D%7D%7Dcatch(e)%7Bconsole.error("%5Binstantgram%5D "%2BVERSION,e)%7DalertNotInInstagramPost%26%26!foundVideo%26%26alert(localize("index%23program%40alert_dontFound")),update(VERSION)%7D%3B%7D)()
 
网友评论