Skip to content

Instantly share code, notes, and snippets.

@vjk2005
Created July 15, 2018 10:46
Show Gist options
  • Save vjk2005/db9910fe46c704448e7d03157377a817 to your computer and use it in GitHub Desktop.
Save vjk2005/db9910fe46c704448e7d03157377a817 to your computer and use it in GitHub Desktop.
Linkfy download links in the descriptions on ebook3000.com
[...document.querySelectorAll('.list_box_info.list_title')].map(el => el.innerHTML = el.textContent.replace(/http(.*)\.\.\./, '<a href="http$1">http$1</a>'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment