1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

redirect page with javascript on FF????

Discussion in 'Black Hat SEO' started by extra, Feb 12, 2008.

  1. extra

    extra Jr. VIP Jr. VIP Premium Member

    Joined:
    May 18, 2007
    Messages:
    533
    Likes Received:
    34
    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
     
  2. SmallStorm

    SmallStorm Junior Member

    Joined:
    Dec 4, 2007
    Messages:
    141
    Likes Received:
    64
    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
     
  3. extra

    extra Jr. VIP Jr. VIP Premium Member

    Joined:
    May 18, 2007
    Messages:
    533
    Likes Received:
    34
    thanks for the example
    its works only on ie
    it doesnt work in ff
    and java script is enabled

    any other suggestions?
    thanks
     
  4. SmallStorm

    SmallStorm Junior Member

    Joined:
    Dec 4, 2007
    Messages:
    141
    Likes Received:
    64
    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