Last active
April 26, 2024 10:14
-
-
Save saitamanodoruji/6572885 to your computer and use it in GitHub Desktop.
Tumblr Dashboard でスクロールイベントにバインドされてる callback を全部切る
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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