Ignore User in Tesla Forums Bookmarklet

IGNORE

I was so annoyed by a certain user that I created this Ignore Bookmarklet. It only works within Tesla Forum Threads right now (and I have only done cursory testing), but I like it and thought some of you would too.

CAVEATS

I have only done cursory testing; YMMV
IE definitely does strange things, and pops "are you sure" weirdness; but it still works; you may be able to change your IE security settings (make sure to use "Trusted Sites" for Tesla Motors, and not for all sites)
It's temporary, you need to click the button every time the page loads


INSTALL INSTRUCTIONS
Read the Mozilla Bookmarklet page
Go to my Marklets: Ignore User in Tesla Forums Bookmarklet page
Scroll down to the "Ignore User in Tesla Forums Bookmarklet" link (it's a big blue box), then drag-and-drop it into your Bookmark Toolbar
I recommend renaming it to "Ignore"; I used a more descriptive name on Marklets.com, but that seems nice and short for your bar

USAGE
Load a Tesla Forum Post page (need to do this on each page).
Find some text that uniquely identifies the user.
Double-click the text to select it, then copy it to your buffer (aka Clipboard)
Click the "Ignore", item in your Bookmark Toolbar
Paste the offending text into the prompt, and click okay or hit enter
Breath out

Remember how Bookmarklets work. You will need to do this for each listing page.

Source (forums.tesla.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avar%20C%3Ddocument.getElementsByClassName%28%27panel-pane%20pane-node-comments%27%29%5B0%5D%3B%20var%20s%3Dprompt%28%27Text%20to%20search%20for%20then%20hide.%27%2C%27bb0tin%27%29%3B%20if%28s%3D%3Dnull%29%7Bs%3D%27bb0tin%27%3B%7D%20for%28var%20i%3D0%2Cd%3Bd%3DC.querySelectorAll%28%22.comment%22%29%3Bi++%29%7B%20%09var%20h%3Dd%5Bi%5D.querySelector%28%22.user-date%22%29.innerHTML%3B%20%09if%28h.toLowerCase%28%29.indexOf%28s.toLowerCase%28%29%29%20%3E%20-1%29%20%7B%20%09d%5Bi%5D.style.display%20%3D%20%22none%22%3B%20%09%7D%20%7D


Rate it:


Tags:

Comments

Comments so far. Add yours.