Help Hiding a Forum with JavaScript
2 posters
Page 1 of 1
Help Hiding a Forum with JavaScript
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!
Re: Help Hiding a Forum with JavaScript
Real weird cleared forum cookies and it's fine weird right before then a color canger i had installed was active and i deleted that few days ago.
Similar topics
» Hiding a Forum
» Hiding a Forum
» Hiding forum
» Hiding forum moderators
» WE NEED HELP HIDING THE FORUM SO ONLY MEMBERS CAN SEE IT!!!!!!!!!!!!!!!!!!!!!
» Hiding a Forum
» Hiding forum
» Hiding forum moderators
» WE NEED HELP HIDING THE FORUM SO ONLY MEMBERS CAN SEE IT!!!!!!!!!!!!!!!!!!!!!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum