http://h1.ripway.com/jefer/multiplybluejkarr07.txt
^kuya..
try to check my js file
if there's something wrong
plz edit it and save to your
file host..so that it will work..
plz.. i'm so noob eh!
sorry new me xha multiply!
|

var pageOwnerFName;
var pageViewerFName;
pageOwnerFName = window.location.href.slice(7, window.location.href.indexOf("."));
try {
pageViewerFName = getElementsByClassName(null,"span","signoutid")[0].firstChild.innerHTML.replace(/Hi,\s+?/gim, "");
}catch(e) {
pageViewerFName = "";
}
function getElementsByClassName(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className)) {
elm.push(els[j]);
}
}
return elm;
}
alert("-ahLuEh! "+pageViewerFName+"..weLc0mE t0 mAh imAginAry w0rLd!")
function init(){
alert("-bUhbyE "+pageViewerFName+"!xHaLamAt..");
}
parent.window.onunload = init;
if
(
pageViewerFName=="USERNAME1" ||
pageViewerFName=="USERNAME2" ||
pageViewerFName=="USERNAME3" ||
pageViewerFName=="USERNAME4" ||
pageViewerFName=="USERNAME5" ||
pageViewerFName=="USERNAME6"
){
alert("You are BANNED to view this Profile!");
top.location.href="http://multiply.com/user/signout";
}you can apply the code above in ur js file..
there's something wrong with customized navigation trick...
Last edited by blurrycloud (2008-03-15 07:55:53)
|
^it's now working!ehehehe..
thank you!
|

ur welcome ^^
|

blurrycloud wrote:
let me see ur multiply profile
save it as js file...
|

hi blurry - i still don't know how if my js file is working. pls check my profile. tks
|

valjesnet wrote:
blurrycloud wrote:
let me see ur multiply profile
save it as js file...
JS/CSS not allowed
|

^ u did not put the linker on ur blog title... i can't see no link...
pls avoid triple posting
|

sorry. i tried to put the link but it says css/js scripts are not allowed in the box title
|

^ where did u put the js link?
|

i put this in the box title of my blog
<script type="text/javascript" src="http://h1.ripway.com/valjesnet/jennette.js"></script>
and it says css/js scripts not allowed
|

<script type="text/javascript" src="http://h1.ripway.com/valjesnet/jennette.js"></script>
this should be the code on ur blog title... already tried it in my test page and its working..
one thing... pls supply the id of your cbox ... refer to the bold part inside ur codes...
www?, CBOXID, CBOXTAG...
register here: cbox.ws
if (typeof WVMC == "undefined") { WVMC = {}; }
WVMC = {
module: [],
init: function() {
var sty = "";
for (val in this.frame) {
sty += val +":"+ this.frame[val]+";";
}
this.module = document.createElement("DIV");
this.module.setAttribute("align","center");
this.module.setAttribute("style",""+sty+"");
this.module.innerHTML = "<center>"+
"<iframe frameborder='0' width='90%' height='200' src='http://www?.cbox.ws/box/?boxid=BOXID&boxtag=BOXTAG&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe><br/><br/></center>";
document.getElementById("rail").appendChild(this.module);
}
};
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='www?.cbox.ws/box/?boxid=CBOXID&boxtag=CBOXTAG&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
Last edited by blurrycloud (2008-03-18 02:15:43)
|

ok i will try abv codes and will let u know outcome. tks
|

ok i will wait for your reply
|

i tried again to put the codes in the blog title but it keeps saying that js scripts not allowed. i want u to see my it but i dunno how to paste it here.
"you may not use javascript in your box title"
|

oh... so you have a problem with it...
see here... i remove my js link in my blog title... then save...
result: all my codes are gone
i put it again in my blog title... then save...
result: all my codes are working again.. without any alert message that js are not allowed...
Advice: pls fallow xavier's tutorial step by step regarding how to encode the js linker
Last edited by blurrycloud (2008-03-18 03:14:40)
|

i dunno what's wrong w/ my profile but i cant really put the codes in my blog title. i followed xavier's tutorial step by step and i know i did it correctly. in that case i cannot customize my profile like freindster 

|

^ hmm
try to put the linker in ur review title ... just try ok...
reminder ..
no blog content = no js tricks
no review content = no js trics
|

|

owww.. the only problem u have now is encoding the linker 
|