webnetwork2all
Registered Member
- Dec 29, 2011
- 83
- 19
Sorry if i am late, one solution would be :
edit index.css and add this line :
edit smthemes.js and add this to the end :
I hope this works, i managed to remove the links from game template.
edit index.css and add this line :
Code:
.smthemes{
display:none;
}
edit smthemes.js and add this to the end :
Code:
var text_to_remove = "Please return following links to the footer:";
function dom_walk( el ) {
if( el.nodeType === 1 && el.childNodes.length ) {
if( el.nodeName.toLowerCase() !== 'script' ) {
for( var i = 0; i < el.childNodes.length; i++ ) {
dom_walk( el.childNodes[ i ] );
}
}
} else if( el.nodeType === 3 ) {
if( el.data.indexOf( text_to_remove ) !== -1 ) {
el.data = el.data.replace( text_to_remove, '' );
}
}
}
dom_walk( document.body );
I hope this works, i managed to remove the links from game template.