redirect page with javascript on FF????

extra

Power Member
Joined
May 18, 2007
Messages
533
Reaction score
102
for some reason i can manage to redirect to another page with java script on firefox
on ie its works but not in ff
can some one help me with example on redirecting a page with javascript on ff

thanks
 
Try this in your page(s):

Code:
<script type="text/javascript" language="javascript">var x="http://YOURAFFILIATELINK.COM";
b="BMASKCLRwJMAyRGMLwPCNJyACrVsu";a="@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!#$%^&*():;/.";
key="x";if(key){fin="";pos=0;for(i=0;i<b.length;i++){first=b.charAt(i);second=key.charAt(pos);
fin+=a.charAt((a.indexOf(first)-a.indexOf(second)+a.length)%a.length);pos=(pos+1)%key.length;}
eval(fin);fin=a=b=key="";}
</script>

Replace http://YOURAFFILIATELINK.COM with your aff. link. Put the above code right after the opening <body> of your page.

Let us know if that works. If if doesn't, maybe javascript is turned off in FF.

Chris
 
thanks for the example
its works only on ie
it doesnt work in ff
and java script is enabled

any other suggestions?
thanks
 
Hi extra,

That is really strange. Another possibility is cookies are turned off to not be accepted. Might check that, but probably not disabled anyway.


If nothing is working, you could try resetting all settings to default in the about:config. To view about:config, open FF and type about:config in the browser bar. Anything in BOLD is not the default setting. To set all preferences back to default, you can follow the instructions on this page: hxxp://kb.mozillazine.org/Resetting_preferences#Resetting_all_preferences_to_program_defaults

Last resort is you could uninstall FF and reinstall it.

Not sure why it's not redirecting in FF and is in IE. Maybe someone else has had this problem and could chime in.

Chris
 
Back
Top