Tartışmalar » Oluşturma İstekleri
Hide Tumblr Post Types (Photosets)
Please post some link examples of photosets on Tumblr.com
Maybe this modified version of that script will work
// ==UserScript==
// @name Tumblr hide only photosets
// @description Will hide photosets on Tumblr Dashboard
// @namespace maoistscripter
// @version 1.1
// @grant none
// @include https://www.tumblr.com/dashboard
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js
// ==/UserScript==
$(function()
{
var hide = ['photoset'];
$('#posts').bind("DOMSubtreeModified", function()
{
$( "#posts li div" ).each(function( index, element ) {
if (jQuery.inArray($(this).attr('data-type'), hide) !== -1)
{
$(this).remove();
}
});
});
});
Maybe this modified version of that script will work
No, it didn't work :/ I can definitely link examples, but I think it's entirely different if seen from the blog side as opposed to the dashboard, the latter of which is the one I want to be hidden since I don't have a choice but to use the dashboard. You might have to make a dummy Tumblr account to poke around on the dash, since it has changed dramatically from when the old script was made. Or feel free to request anything from me! Thanks!
Photoset example:
https://behindfairytales.tumblr.com/post/187615846915/ladies-of-the-spanish-princess-joanna-of-castille
https://femaleidols.tumblr.com/post/184415988857/marvelous-seulgi
Sorry but I won't create a tumblr account just to make the script, hope this works for you
// ==UserScript==
// @name Tumblr hide only photosets
// @namespace hideTumblrphotosets
// @version 0.1
// @description Will hide photosets on Tumblr
// @author hacker09
// @match https://*.tumblr.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
(function() {
'use strict';
var PhotoSets = document.querySelectorAll("[id*='photoset']"); //Get all PhotoSets on the page
for (var i = PhotoSets.length; i--;) { //Starts the for condition
PhotoSets[i].style.display = 'none'; //Hide the PhotoSet
} //Finishes the for condition
})();
No, it did not work, but thank you.
Do you want to hide the photosets on this url https://www.tumblr.com/dashboard or on urls like these ?
https://SOMETHING.tumblr.com/post/STUFF
https://SOMETHING.tumblr.com/post/STUFF
The dashboard (first link)! I can easily avoid going to photo-heavy blogs, but the actual dash is unavoidable and I just want it to be photo/photoset free.
Obviously my script wouldn't work, because I didn't make it to work on the dashboard at first
// ==UserScript==
// @name Tumblr hide only photosets
// @namespace hideTumblrphotosets
// @version 0.1
// @description Will hide photosets on Tumblr
// @author hacker09
// @match https://*.tumblr.com/*
// @match https://www.tumblr.com/dashboard
// @run-at document-end
// @grant none
// ==/UserScript==
(function() {
'use strict';
var PhotoSets = document.querySelectorAll("[id*='photoset']"); //Get all PhotoSets on the page
for (var i = PhotoSets.length; i--;) { //Starts the for condition
PhotoSets[i].style.display = 'none'; //Hide the PhotoSet
} //Finishes the for condition
})();
https://greasyfork.org/scripts/419248-tumblr-dashboard-hide-photosets
YES. Many, many thanks to both of you!
I was hoping someone could write up a script to hide photosets on Tumblr.com. I had found a script on here that used to hide everything but video posts, so something like that, but photosets. Or maybe customizable depending on the user?
Old defunct script: https://greasyfork.org/en/scripts/14301-tumblr-only-videos/code
Thanks to anyone who can help!