In that rare case, that link would be blocked too, because we don't check for the "@" tag specifically.
for (var i=0; i < tagsToDelete.length; i++)
{
var inner = tagsToDelete[i].innerHTML;
if (inner[0] == '@' && userlist.indexOf(inner.substring(1,inner.length)) > -1 )
{
// options
}
} This will check for the the @ tag at the beginning, I just didn't bother including it initially as I wasn't entirely certain that it was necessary. Better safe than sorry, though.
I'm also beginning to wonder if setting it to # is the best option. While you don't leave the page when the link is pressed, it does jump to the top of the page. It might be better to either use the current ID for the post, or remove the <a> tag.
@Shandyr, thank you very much for your detailed help. You are truly prince among men. I think I followed your instructions, yet I still see your posts. This is how my script looks like: http://imgur.com/a/y0ZMH
Do you think it would be possible to add an option that removes all threads from a specific sub-forum from the "Recent Discussions" page? I personally would like to filter out all the NWN:EE related threads from there (and only there).
Thank you, also come to think of it, this feature could also be used to filter out language specific sub-forums. No point in having threads in language show up for me there that I can't read anyway >.>
I have extended my ignore script: From now on it's possible to ignore threads. Instead of a person you'd enter the title of the thread in a new, different list.
Mind you, I have not uploaded that script yet. I'm not sure if I should offer this possibility in the same script or make a new separate script.
And I don't know how many of you would be interested in a thread-ignore feature anyway. But it does work!
From now on I can put threads on ignore and poof, gone they are!
I have extended my ignore script: From now on it's possible to ignore threads. Instead of a person you'd enter the title of the thread in a new, different list.
Mind you, I have not uploaded that script yet. I'm not sure if I should offer this possibility in the same script or make a new separate script.
And I don't know how many of you would be interested in a thread-ignore feature anyway. But it does work!
From now on I can put threads on ignore and poof, gone they are!
This is even more useful than ignoring users. I usually scan the forum from the *recent discussions' view and need not to see stuff like "politics blabla" or just joke topics.
Comments
F?
F!
F this. I'm off.
for (var i=0; i < tagsToDelete.length; i++) { var inner = tagsToDelete[i].innerHTML; if (inner[0] == '@' && userlist.indexOf(inner.substring(1,inner.length)) > -1 ) { // options } }
This will check for the the @ tag at the beginning, I just didn't bother including it initially as I wasn't entirely certain that it was necessary. Better safe than sorry, though. I'm also beginning to wonder if setting it to # is the best option. While you don't leave the page when the link is pressed, it does jump to the top of the page. It might be better to either use the current ID for the post, or remove the <a> tag.
I think I followed your instructions, yet I still see your posts. This is how my script looks like: http://imgur.com/a/y0ZMH