Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var results = [];
  2. document.body.textContent.split('\n').forEach((val) => {
  3. const splitted = val.split('!*** ');
  4. if (splitted.length > 1) { results.push(splitted[1].replace(' ***!', '')) }
  5. }); JSON.stringify(results, null, ' ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement