Skip to content

Instantly share code, notes, and snippets.

@technohippy
Created September 13, 2012 03:28
Show Gist options
  • Save technohippy/3711665 to your computer and use it in GitHub Desktop.
Save technohippy/3711665 to your computer and use it in GitHub Desktop.
javascript:var lis=document.querySelectorAll('li');for(var i=0;i<lis.length;i++){var li=lis[i];if(li.innerHTML!='日本')li.parentNode.removeChild(li)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment