Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saitamanodoruji/6572885 to your computer and use it in GitHub Desktop.
Save saitamanodoruji/6572885 to your computer and use it in GitHub Desktop.
Tumblr Dashboard でスクロールイベントにバインドされてる callback を全部切る
// ==UserScript==
// @name Unbind Callbacks on Flatscroll on Tumblr Dashboard
// @namespace http://saitamanodoruji.tumblr.com/
// @description Tumblr Dashboard でスクロールイベントにバインドされてる callback を全部切る
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/likes*
// @include http://www.tumblr.com/liked/by/*
// @include http://www.tumblr.com/tagged/*
// @include http://www.tumblr.com/blog/*
// @exclude http://www.tumblr.com/dashboard/iframe*
// @exclude http://www.tumblr.com/blog/*/new/*
// @exclude http://www.tumblr.com/blog/*/reblog/*
// @include https://www.tumblr.com/dashboard*
// @include https://www.tumblr.com/likes*
// @include https://www.tumblr.com/liked/by/*
// @include https://www.tumblr.com/tagged/*
// @include https://www.tumblr.com/blog/*
// @exclude https://www.tumblr.com/dashboard/iframe*
// @exclude https://www.tumblr.com/blog/*/new/*
// @exclude https://www.tumblr.com/blog/*/reblog/*
// @version 0.0.1.1
// @update 2014-08-15
// @author saitamanodoruji
// ==/UserScript==
(function() {
unsafeWindow.Tumblr.Events.on("DOMEventor:flatscroll", function() {
unsafeWindow.Tumblr.Events.off("DOMEventor:flatscroll");
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment