Skip to content

Instantly share code, notes, and snippets.

@xiangzhuyuan
Last active June 11, 2017 08:02
Show Gist options
  • Save xiangzhuyuan/545d879cd75f40e7954795d60b9817ae to your computer and use it in GitHub Desktop.
Save xiangzhuyuan/545d879cd75f40e7954795d60b9817ae to your computer and use it in GitHub Desktop.
try to get list you are following and followers, open the popup layer~
!function(e){e.save=function(o,n){if(!o)return void e.error("Console.save: No data");n||(n="console.json"),"object"==typeof o&&(o=JSON.stringify(o,void 0,4));var t=new Blob([o],{type:"text/json"}),a=document.createEvent("MouseEvents"),s=document.createElement("a");s.download=n,s.href=window.URL.createObjectURL(t),s.dataset.downloadurl=["text/json",s.download,s.href].join(":"),a.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(a)}}(console);var d=document,b=d.createElement("script");b.src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js",d.getElementsByTagName("head")[0].appendChild(b);var s="";$("div._2uju6").each(function(){s+=$(this).text(),s+="\n"}),console.save(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment