Guest username Posted April 26, 2008 Report Share Posted April 26, 2008 Does anyone with some codding skill want to try and write something to remove that annoying sidebar they put on the left hand side, using greasemonkey? http://www.greasespot.net/ I saw this but don't know where to put the code I want to get rid of http://diveintogreasemonkey.org/patterns/remove-element.html Quote Link to comment Share on other sites More sharing options...
aardvark baguette Posted April 26, 2008 Report Share Posted April 26, 2008 They're using JoeRotate javascript, according to their code. I'm not really a coder, but you could try being one of "those guys" that disable javascript on your browser globally. Or look for a javascript hack. But if you stay logged in, you can just minimize all the stupid side windows they have and they remain in that state until you delete cookies. Its easy enough, that its too much hassle to seek out anything, imho. Quote Link to comment Share on other sites More sharing options...
Guest username Posted April 26, 2008 Report Share Posted April 26, 2008 That's only on the home page. The only link I really stay under is the "New Post" link, unless I search for something. And you can't minimize that. http://img233.imageshack.us/img233/2748/lamemv0.jpg And btw, I saw the code they used for it, and it isn't Java: just basic html tables. I'm going to research some more and play around with different things. I have a basic understanding of html, so hopefully it wont be too hard. If I find a solution, I'll be sure to share the goodness. Quote Link to comment Share on other sites More sharing options...
guzziguy Posted April 26, 2008 Report Share Posted April 26, 2008 CanJam ends 1 week from tomorrow. Then it goes back to normal (ads on right). So having a little patience is probably the best solution now. Quote Link to comment Share on other sites More sharing options...
dc Posted April 27, 2008 Report Share Posted April 27, 2008 Admuncher for the win! Quote Link to comment Share on other sites More sharing options...
mulveling Posted April 27, 2008 Report Share Posted April 27, 2008 I just downloaded greasemonkey a few mins ago. Try the below script I just vomited out, with scope: http://www.head-fi.org/forums/* Works for me. Gets rid of a couple of those top-horizontal banners too. It's an awful hack but head-fi doesn't id/name many elements for latching on to. They do like to to lots of <font> tags, though. - nice. I did notice the TTVJ sub-forum gives a JS error w/ this script because one of head-fi's startup scripts depends on one of those removed elements...let it choke...not a big deal to me. // ==UserScript== // @name Kill Head-fi // @namespace mdu // @description remove annoying sidebar // @include http://www.head-fi.org/forums/ // ==/UserScript== // get rid of annoying top ad banners: var pagenavMenuId = "pagenav_menu"; try { var pageNavMenu = document.getElementById(pagenavMenuId); var pageNavMenuParent = pageNavMenu.parentNode; var foundPageNavMenu = false; var numTargetElements = 2; // get rid of the first 2 tables after the pageNavMenu element var targetElements = []; for (var i=0; i < pageNavMenuParent.childNodes.length; i++) { var thisElement = pageNavMenuParent.childNodes[ i ]; if (!foundPageNavMenu && thisElement.id == pagenavMenuId) { foundPageNavMenu = true; } else if (foundPageNavMenu && thisElement.tagName && thisElement.tagName.toLowerCase() == "table") { targetElements.push(thisElement); if (targetElements.length == numTargetElements) { break; } } } for (var i=0; i < targetElements.length; i++) { pageNavMenuParent.removeChild(targetElements[ i ]); } } catch (ignore) {;} // get rid of annoying sidebar: var tds = document.getElementsByTagName('td'); for (var i in tds) { var td = tds[ i ]; if (td && td.width == "1%" && td.style.paddingLeft == "10px") { td.parentNode.removeChild(td); } } Quote Link to comment Share on other sites More sharing options...
dc Posted April 27, 2008 Report Share Posted April 27, 2008 decided to get rid of some of the sponsors forums too while i was at it (never read them) Quote Link to comment Share on other sites More sharing options...
aardvark baguette Posted April 27, 2008 Report Share Posted April 27, 2008 This is what I do. Good enough for me. Quote Link to comment Share on other sites More sharing options...
Guest username Posted April 27, 2008 Report Share Posted April 27, 2008 Thanks for witting that mulveling, it works well and I got it to work for everything I clicked on. Also thanks for the program dc; i'll look into it some more for other sites I don't like the way they look and @aardvark sandwich I don't think you understood which sidebar I was talking about. See my seconded post for clarification if you care any. Quote Link to comment Share on other sites More sharing options...
en480c4 Posted April 27, 2008 Report Share Posted April 27, 2008 http://www.reifysoft.com/turnabout.php works great for those using IE7. It removes anything you want and did a great job getting rid of the sidebar on head-fi. Quote Link to comment Share on other sites More sharing options...
Dusty Chalk Posted April 28, 2008 Report Share Posted April 28, 2008 http://www.reifysoft.com/turnabout.php works great for those using IE7. It removes anything you want and did a great job getting rid of the sidebar on head-fi.Maybe you can use it to get IE7 to get my spoiler tags to work correctly in IE7. Quote Link to comment Share on other sites More sharing options...
en480c4 Posted April 29, 2008 Report Share Posted April 29, 2008 Maybe you can use it to get IE7 to get my spoiler tags to work correctly in IE7. Yeah, probably not so much... Quote Link to comment Share on other sites More sharing options...
deepak Posted April 29, 2008 Report Share Posted April 29, 2008 Yeah, probably not so much... That's ice cold! Quote Link to comment Share on other sites More sharing options...
mulveling Posted April 29, 2008 Report Share Posted April 29, 2008 http://www.reifysoft.com/turnabout.php works great for those using IE7. It removes anything you want and did a great job getting rid of the sidebar on head-fi. Yeah, or you could use greasemonkey and not only remove ads but make head-fi like wai better too!!! Quote Link to comment Share on other sites More sharing options...
recstar24 Posted April 29, 2008 Report Share Posted April 29, 2008 Dude you have like 9 unread messages popular guy huh? Quote Link to comment Share on other sites More sharing options...
mulveling Posted April 29, 2008 Report Share Posted April 29, 2008 Dude you have like 9 unread messages popular guy huh? No, just disorganized & selectively lazy Maybe I should also use greasemonkey to purge such reminders of my laziness... 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.