- Copy the code below:
javascript:(function(){
var script = document.createElement('script');
script.src = 'https://cdn.jsdelivr.net/npm/compromise@latest/builds/compromise.min.js';
document.body.appendChild(script);
script.onload = function() {
var textNodes = document.evaluate('//body//text()', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);