Skip to content

Instantly share code, notes, and snippets.

@dolpen
Created August 26, 2016 08:14
Show Gist options
  • Save dolpen/543befbc4ea75c51f131e55e761a8639 to your computer and use it in GitHub Desktop.
Save dolpen/543befbc4ea75c51f131e55e761a8639 to your computer and use it in GitHub Desktop.
[].slice.call(
document.querySelector('.tweeting-text').childNodes
).filter(function(n){
return n.nodeType === 3 && n.nodeValue.trim().length > 3;
}).forEach(function(n){
n.nodeValue = '反省文を送信する';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment