Hide Top Links

Don Von Alpha Dom
by Don Von Alpha Dom · 2 posts
12 years ago in General
Posted 12 years ago · Author
Safe Version: (This version should not get you into trouble, because it keeps the block / report links at the top of your HP visible.)

Code
<script type="text/javascript"> 
//By Antonio82
var TStart = document.getElementById('top_links');
var TLinks = TStart.getElementsByTagName('a');
var LCount = TLinks.length;
TStart.innerHTML = TStart.innerHTML.replace(/[|]+/g,' ');
TStart.innerHTML = TStart.innerHTML.replace(/ /g,'');
for (var i = 0; i < LCount; i++) {
if (!(i == 3|| i ==5)) {
TLinks[i].style.display = 'none';
}
}
</script>


Dangerous Version: (This version can get you in trouble with IMVU staff, because it also hides the report / block links at the top of your HP.)

Code
<script type="text/javascript"> 
//By Antonio82
var TStart = document.getElementById('top_links');
var TLinks = TStart.getElementsByTagName('a');
var LCount = TLinks.length;
TStart.innerHTML = TStart.innerHTML.replace(/[|]+/g,' ');
TStart.innerHTML = TStart.innerHTML.replace(/ /g,'');
for (var i = 0; i < LCount; i++) {
TLinks[i].style.display = 'none';
}
</script>
Posted 1 week ago
damn what is this

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