Antrax Posted June 21, 2011 Report Share Posted June 21, 2011 For people who use Greasemonkey (an add-on to your browser that lets you write custom scripts to parse web pages. http://www.greasespot.net/), I'm attaching a script that filters out the "Interests" field in people's profiles here. I'm not exactly a web expert and I did this in 10 minutes so there's no option to filter by poster name or to turn it off (other than shutting the script down). But still, if it helps someone else, why not.function removeInterests() { var user_fields = document.getElementsByClassName("user_fields"); for (var j = user_fields.length - 1; j >= 0; --j) { var fieldList = user_fields[j].getElementsByTagName("span"); for (var i = 0; i < fieldList.length; ++i) { var txt = fieldList[i].textContent; if ("Interests:" == txt) { fieldList[i].parentNode.removeChild(fieldList[i+1]); fieldList[i].parentNode.removeChild(fieldList[i]); break; } } } } removeInterests(); 11 Quote Link to comment Share on other sites More sharing options...
matmat Posted June 22, 2011 Report Share Posted June 22, 2011 Wrong forum! Belongs here 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.