Greasy Fork is available in English.

Tumblr notes autoload

Adds a button to autoload all notes on Tumblr full page posts

< Feedback on Tumblr notes autoload

Review: Good - script works

§
Posted: 17.03.2015.

Very simple, but nice

Features I'd like to see added (and may add myself eventually):

- Require a button click to start the loading (avoids problems on posts with hundreds of thousands of notes)
- Filter out particular types of notes (particularly Likes)

woxxomAuthor
§
Posted: 17.03.2015.

Good suggestions, but these should be options, I guess, with at least a simple setup UI. The thing is, I don't use tumblr, so if you want to enhance the script feel free to do so, either by forking whatever few lines the script has or make a new one :-)

§
Posted: 17.03.2015.

Sounds good. I'll look into adding them. Thanks for hacking it up; it's nice to have something to start from.

§
Posted: 22.03.2015.

The change to make it not run every time is quite short. I'll put it here, so you can update the script (or other people can get it). When I add the filtering, I'll make my own fork, but this seems small enough to just post as a patch.

Replace the first line of the script with the following:

window.addEventListener('DOMContentLoaded', addInterface);

function addInterface() {
  document.querySelector('.notes').insertAdjacentHTML('beforebegin', '<button id="loadallBtn">Load all notes</button>')
  document.getElementById("loadallBtn").addEventListener('click', clickMore)
}
woxxomAuthor
§
Posted: 23.03.2015.

Thanks.

The script is updated.

Post reply

Sign in to post a reply.