Skip to content

Instantly share code, notes, and snippets.

@ozero
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozero/7760c8fd616643272a85 to your computer and use it in GitHub Desktop.
Save ozero/7760c8fd616643272a85 to your computer and use it in GitHub Desktop.
dump portal member
// add below at the end of window.plugin.keys.addToSidebar = function() { ... }
// https://secure.jonatkins.com/iitc/release/plugins/keys.user.js
var lv = [];
$("span.meter").each(function(index){
lv[index]= $(this).attr("title");
});
for(var i in lv){
var owner = lv[i].match(/owner:\t[\w]+/)
var level = lv[i].match(/level:\t[\w]+/)
console.log("pt("+i+"):\t"+owner+"\t"+level);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment