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

Help making a Bitcoin rotator site

Discussion in 'Hire a Freelancer' started by LittleMouse, Sep 15, 2015.

  1. LittleMouse

    LittleMouse Newbie

    Joined:
    Sep 15, 2015
    Messages:
    5
    Likes Received:
    0
    I've been on the net a lot about bitcoin rotate, which are packed full of ads from a few places earning them money. I'm already using bitcoin (not that i have much) but was thinking of setting up a rotate site for myself, packing it full of referral links (which i already have). Now I've used a few websites builders and sadly... I script i got for the rotate, doesn't actually work, It might be that those sites don't support the code, :s?
    Can someone check it out for me?


    var s=[
    "gin.htm",

    Then site url's go here. in speechmarks and followed by a comma. ("",)

    ];
    var adr,i,x=0,c=s.length;
    function address() {
    adr=prompt('Enter your bitcoin address:');
    s=s.map(function(x){
    return x.indexOf("a=") != -1 ? x + adr : x;
    });
    }
    function next(){
    x+=1;
    if (x>c-1)
    {
    x=0;
    }
    changeSrc();
    }
    function prev(){
    x-=1;
    if (x<=0)
    {
    x=c-1;
    }
    changeSrc();
    }
    function jumpTo() {
    i=prompt("Enter a number to skip to that faucet.");
    x=0;
    while (i!=x) {
    if (x>c-2) {
    break;
    }
    x+=1;
    }
    changeSrc();
    }
    function newTab() {
    var win=window.open(document.getElementById("fm").src, '_blank');
    win.focus();
    }
    function changeSrc() {
    document.getElementById("fm").src=s[x];
    }




    I'm not sure why it won't work, does anyone know any good rotate scripts? :)
     
    Last edited: Sep 15, 2015
  2. inperson

    inperson Newbie

    Joined:
    Aug 10, 2015
    Messages:
    30
    Likes Received:
    5
    Download this https://github.com/ExploreBTC/BitcoinGrind
    It is simple java based script.You have to just edit /gin.htm file
    Hope this help you