406
Off Topic / Re: Anime and Manga Megathread
« on: November 23, 2013, 11:44:08 PM »
I want to pet her
Why do I keep seeing her everywhere? Who is she?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I want to pet her
keep it and do what with it? maybe theres something interesting i can do with it?
Can't you put a "-" before a tag, and when you search it doesn't include that tag? If you can, it really helps and you don't have to forget around with a blacklist.
the youtube embedder doesn't embed https links
make a script which simply replaces chosen user names with "some friend" whilst keeping the post itself intact

// ==UserScript==
// @name Funner Post Blocker
// @version 1.0
// @require http://code.jquery.com/jquery-2.0.3.min.js
// @description Block that user...with style.
// @author: Steve5451
// ==/UserScript==
// Let's set some variables. \\
var blockeduser = 'Badspot'; // The exact name of the user you wish to block.
var usernamereplace = 'CumGuzzler'; // What their name with be replaced with in quotes. Leave empty to disable.
var blockedtext = 'I love rooster.'; // What their post will be replaced with. Leave empty to disable.
var avatarurl = 'http://i.imgur.com/jExkqiw.gif'; // What their avatar will be replaced with. Leave empty to disable.
if(document.URL.indexOf("?topic=") !=-1) {
$('.windowbg').each(function(i) {
checkuser($(this));
});
$('.windowbg2').each(function(i) {
checkuser($(this));
});
}
function checkuser(window) {
window.find('a').each(function(i) {
if($(this).parent().attr('class') == "quoteheader") {
var quote_txt = $(this).html();
var name_end = quote_txt.indexOf(' on ', 0);
var name = quote_txt.substring(12,name_end)
if(name == blockeduser) {
if(blockedtext != '') {
$(this).parent().next().html(blockedtext);
}
if(usernamereplace != '') {
$(this).parent().html(usernamereplace);
}
}
}
if($(this).html() == blockeduser) {
if(avatarurl != '') {
$(this).parent().parent().find('.avatar').attr('src', avatarurl);
}
if(blockedtext != '') {
$(this).parent().parent().parent().find('.post').html(blockedtext);
}
if(usernamereplace != '') {
$(this).replaceWith(usernamereplace);
}
}
});
}
var usernamereplace = '';
look im in the op im so cool
also will youtube links still be embedded if they're in [url=][/url] format