Hide No Special Someone Message

Don Von Alpha Dom
by Don Von Alpha Dom · 2 posts
12 years ago in Special Someone Panel
Posted 12 years ago · Author
Code
<script type="text/javascript">
if (document.getElementById('special_panel_body')) {
var SpecPan = document.getElementById('special_panel_body');
if (SpecPan.getElementsByTagName('span')[0]) {
var w = SpecPan.getElementsByTagName('span')[0].className;
}
if (SpecPan.getElementsByTagName('font')[0]) {
var x = SpecPan.getElementsByTagName('font')[0].innerHTML;
}
var y = "no special someone";
var z = "demotext";
if (x && x.match(y)) {
SpecPan.getElementsByTagName('font')[0].style.display = 'none';
}
if (w && w.match(z)) {
SpecPan.getElementsByTagName('span')[0].style.display = 'none';
}
}
</script>
Posted 6 years ago
A very useful script if you find that special someone bar being annoying on your homepage. Just cope and paste in the box and bam. Useful post thumbs up

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT