Greasy Fork is available in English.

Tumblr notes autoload

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

< Tumblr notes autoload 피드백

리뷰: 좋음 - 잘 동작함

§
작성: 2015-03-17

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)

woxxom개발자
§
작성: 2015-03-17

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 :-)

§
작성: 2015-03-17

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

§
작성: 2015-03-22

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)
}
woxxom개발자
§
작성: 2015-03-23

Thanks.

The script is updated.

댓글 남기기

댓글을 남기려면 로그인하세요.