-
-
Save miraizu-k/ce79be666622cbeba0d7602805f4b141 to your computer and use it in GitHub Desktop.
granbluefantasy export friend list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function (d) { | |
function c(a) { | |
if (!a) { | |
return; | |
} | |
var f = document.createElement("TEXTAREA"); | |
document.body.appendChild(f); | |
f.value = a; | |
f.select(); | |
try { | |
document.execCommand("copy"); | |
} catch (b) { | |
return false; | |
} finally { | |
f.remove(); | |
} | |
return true; | |
} | |
c(d()) | |
})(function () { | |
if (location.hash.indexOf("#profile/") === false) { | |
return | |
} | |
var result = []; | |
JSON.parse(JSON.stringify(Game.view.friend_model.attributes.list.models)).forEach(function (v) { | |
result.push(v.id + "\t=HYPERLINK(\"http://game.granbluefantasy.jp/#profile/\"&INDIRECT(ADDRESS(ROW(), COLUMN() - 1)), \"★\")\t"+ v.name + "\t" + (parseInt(v.last_login) * 60 - (0 <= v.last_login.indexOf("以内") ? 1 : 0))); | |
}); | |
return result.join("\n"); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(a){function b(d){if(!d){return}var e=document.createElement("TEXTAREA");document.body.appendChild(e);e.value=d;e.select();try{document.execCommand("copy")}catch(c){return false}finally{e.remove()}return true}b(a())})(function(){if(location.hash.indexOf("#profile/")===false){return}var a=[];JSON.parse(JSON.stringify(Game.view.friend_model.attributes.list.models)).forEach(function(b){a.push(b.id+'\t=HYPERLINK("http://game.granbluefantasy.jp/#profile/"&INDIRECT(ADDRESS(ROW(), COLUMN() - 1)), "★")\t'+b.name+"\t"+(parseInt(b.last_login)*60-(0<=b.last_login.indexOf("以内")?1:0)))});return a.join("\n")}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment