Hello, Can someone help me hide a forum with JS?
Here is the code i have but it's not hiding it anymore.
punbb
Forum Link: TPSN
Thank you kindly for the help!
Here is the code i have but it's not hiding it anymore.
- Code:
$(function(){
// hides the status update topic on forum page
$('img[src="hidethis.png"]').closest('.main-content').prev().remove();
$('img[src="hidethis.png"]').closest('.main-content').remove();
if(location.href.match('status-updates')){
alert("You Shall Not Pass!!!!");
location.href="/forum";
};
});
punbb
Forum Link: TPSN
Thank you kindly for the help!