Bitcoin Forum
June 24, 2024, 03:59:33 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 [87] 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 ... 177 »
  Print  
Author Topic: bustabit.com -- The Social Gambling Game  (Read 293505 times)
Mist
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

:)


View Profile
April 06, 2015, 05:03:39 AM
 #1721

Enjoy I guess you two Tongue Glad you got some sort of resolution.

Mist, I have no idea why you seem so agressive on this one.  There are a huge number of people on this forum who found the whole "bits" thing to be a large, poorly motivated distraction  (EDIT: I'm too lazy to look up the threads, but there are quite a few and they grew to quite a length).  I'm not condoning everything sed has said or done ITT but I'm really not sure why it would bother you if some people prefer not to rename bitcoin. Sad
That wasn't meant to be aggressive in the slightest, was legit happy that you made it more enjoyable with a simple 4 lines of code. More power to ya Cheesy I understand that you don't exactly condone sed's actions, and I am in no way grouping you in with him. I don't have as much of an issue with it as it seems, I just don't really understand why some people are so adamant about not renaming it though. There are some cases where it works, and some where it doesnt. Moneypot happens to be one of those cases, but that's fine. I'm pretty done with this whole convo. Lets get some positive talk up in this bitch.

Also, I like your nuts tspace Wink


Sounds good man.  I think I'm probably too old to understand the proper parsing of the various emoticons that folks use to experss themselves these days.  Smiley
Wow, doesnt even acknowledge my compliment about his nuts. How rude. Cheesy
MonsterV
Legendary
*
Offline Offline

Activity: 2212
Merit: 1008



View Profile
April 06, 2015, 05:19:40 AM
 #1722

Profit website continues to rise much less moneypot members had different
With a razor thin house edge there is a lot of variance. Reason why you are seeing the house bankroll increase is because of Mathwhiz. He has been losing quite a bit recently.
I always lose if a large bet, in contrast to a few months ago

Oh, i see its the standard "the game has changed" thing. The game hasn't really changed majorly in the past few months as far as fairness goes. Only major even was when the game became "provably fair" and not just "provably pre-determined" so, honestly, its gotten more fair in the past few months.
Do you also feel it is always lost when big bet
I feel like I win and lose about as much as I should, its only in your mind man Tongue

it looks like I have to find a way to win back,
or I have to get out of moneypot best choice  Grin

         ▄▄▄███████▄▄▄
     ▄▀█▀█ █████████████▄▄
   ▄██ █ █▄████████████████▄
  ██ █ ██▀█ █████████████████
 █▀█▄█▄▀█▄██▄█████████████████
██ █ ██ ██ ██▄▀████████████████
███▀█▀██ ███▀███▀██████████████
███▄██ ██▄▀██▄███▄█████████████
 ███▄▀██▀██▄▀██▄▀██▄▀▀████████
  █████▀█▄█▀█▄▀▀██▄▀▀██▄▄▀█▀█
   ▀████▄███▄█▀█▄▄▀▀▀█▄▄█▀█▀
     ▀▀████▄▀██▄▄█▀▀█▄▄▄▀▀
         ▀▀▀██▄▄███▀▀▀
.
......1xBit.com..BENEFIT ..SEASON........
       ▄▄███████████▄▄
    ▄███████████████████▄
  ▄██████████████████████▄
 █████████████████████████
██████████████████████████▌
████████████████████████████▄▄
███████████████████████████████
        █    █▄   █
        ▀▀▄    ▀▀▀█▀▀▀█▀▀▀▀▀▀▀█
           ▀▀▄    ▀▀▄▄█      ▄▀
              ▀▀▄     █▀▀▄▄  █
                 ▀▀▄  █   ▄█▀
                    ▀▀█▄▀▀
.
.
..PLAY NOW..
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1078


I may write code in exchange for bitcoins.


View Profile
April 06, 2015, 05:21:36 AM
 #1723

Enjoy I guess you two Tongue Glad you got some sort of resolution.

Mist, I have no idea why you seem so agressive on this one.  There are a huge number of people on this forum who found the whole "bits" thing to be a large, poorly motivated distraction  (EDIT: I'm too lazy to look up the threads, but there are quite a few and they grew to quite a length).  I'm not condoning everything sed has said or done ITT but I'm really not sure why it would bother you if some people prefer not to rename bitcoin. Sad
That wasn't meant to be aggressive in the slightest, was legit happy that you made it more enjoyable with a simple 4 lines of code. More power to ya Cheesy I understand that you don't exactly condone sed's actions, and I am in no way grouping you in with him. I don't have as much of an issue with it as it seems, I just don't really understand why some people are so adamant about not renaming it though. There are some cases where it works, and some where it doesnt. Moneypot happens to be one of those cases, but that's fine. I'm pretty done with this whole convo. Lets get some positive talk up in this bitch.

Also, I like your nuts tspace Wink


Sounds good man.  I think I'm probably too old to understand the proper parsing of the various emoticons that folks use to experss themselves these days.  Smiley
Wow, doesnt even acknowledge my compliment about his nuts. How rude. Cheesy

Ha, I guess I didn't know how to say it out loud, but I'm always glad to hear that my nuts have satisfied.
MonsterV
Legendary
*
Offline Offline

Activity: 2212
Merit: 1008



View Profile
April 06, 2015, 05:33:42 AM
 #1724

Enjoy I guess you two Tongue Glad you got some sort of resolution.

Mist, I have no idea why you seem so agressive on this one.  There are a huge number of people on this forum who found the whole "bits" thing to be a large, poorly motivated distraction  (EDIT: I'm too lazy to look up the threads, but there are quite a few and they grew to quite a length).  I'm not condoning everything sed has said or done ITT but I'm really not sure why it would bother you if some people prefer not to rename bitcoin. Sad
That wasn't meant to be aggressive in the slightest, was legit happy that you made it more enjoyable with a simple 4 lines of code. More power to ya Cheesy I understand that you don't exactly condone sed's actions, and I am in no way grouping you in with him. I don't have as much of an issue with it as it seems, I just don't really understand why some people are so adamant about not renaming it though. There are some cases where it works, and some where it doesnt. Moneypot happens to be one of those cases, but that's fine. I'm pretty done with this whole convo. Lets get some positive talk up in this bitch.

Also, I like your nuts tspace Wink


Sounds good man.  I think I'm probably too old to understand the proper parsing of the various emoticons that folks use to experss themselves these days.  Smiley
Wow, doesnt even acknowledge my compliment about his nuts. How rude. Cheesy

Ha, I guess I didn't know how to say it out loud, but I'm always glad to hear that my nuts have satisfied.
I do not understand what you say  Sad

         ▄▄▄███████▄▄▄
     ▄▀█▀█ █████████████▄▄
   ▄██ █ █▄████████████████▄
  ██ █ ██▀█ █████████████████
 █▀█▄█▄▀█▄██▄█████████████████
██ █ ██ ██ ██▄▀████████████████
███▀█▀██ ███▀███▀██████████████
███▄██ ██▄▀██▄███▄█████████████
 ███▄▀██▀██▄▀██▄▀██▄▀▀████████
  █████▀█▄█▀█▄▀▀██▄▀▀██▄▄▀█▀█
   ▀████▄███▄█▀█▄▄▀▀▀█▄▄█▀█▀
     ▀▀████▄▀██▄▄█▀▀█▄▄▄▀▀
         ▀▀▀██▄▄███▀▀▀
.
......1xBit.com..BENEFIT ..SEASON........
       ▄▄███████████▄▄
    ▄███████████████████▄
  ▄██████████████████████▄
 █████████████████████████
██████████████████████████▌
████████████████████████████▄▄
███████████████████████████████
        █    █▄   █
        ▀▀▄    ▀▀▀█▀▀▀█▀▀▀▀▀▀▀█
           ▀▀▄    ▀▀▄▄█      ▄▀
              ▀▀▄     █▀▀▄▄  █
                 ▀▀▄  █   ▄█▀
                    ▀▀█▄▀▀
.
.
..PLAY NOW..
chrisrobs8612
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
April 06, 2015, 10:29:26 AM
 #1725

Enjoy I guess you two Tongue Glad you got some sort of resolution.

Mist, I have no idea why you seem so agressive on this one.  There are a huge number of people on this forum who found the whole "bits" thing to be a large, poorly motivated distraction  (EDIT: I'm too lazy to look up the threads, but there are quite a few and they grew to quite a length).  I'm not condoning everything sed has said or done ITT but I'm really not sure why it would bother you if some people prefer not to rename bitcoin. Sad
That wasn't meant to be aggressive in the slightest, was legit happy that you made it more enjoyable with a simple 4 lines of code. More power to ya Cheesy I understand that you don't exactly condone sed's actions, and I am in no way grouping you in with him. I don't have as much of an issue with it as it seems, I just don't really understand why some people are so adamant about not renaming it though. There are some cases where it works, and some where it doesnt. Moneypot happens to be one of those cases, but that's fine. I'm pretty done with this whole convo. Lets get some positive talk up in this bitch.

Also, I like your nuts tspace Wink


Sounds good man.  I think I'm probably too old to understand the proper parsing of the various emoticons that folks use to experss themselves these days.  Smiley
Wow, doesnt even acknowledge my compliment about his nuts. How rude. Cheesy

Ha, I guess I didn't know how to say it out loud, but I'm always glad to hear that my nuts have satisfied.
I do not understand what you say  Sad

Me either, can you please clarify?
boopy265420
Legendary
*
Offline Offline

Activity: 1876
Merit: 1005


View Profile
April 06, 2015, 11:12:17 AM
 #1726

Enjoy I guess you two Tongue Glad you got some sort of resolution.

Mist, I have no idea why you seem so agressive on this one.  There are a huge number of people on this forum who found the whole "bits" thing to be a large, poorly motivated distraction  (EDIT: I'm too lazy to look up the threads, but there are quite a few and they grew to quite a length).  I'm not condoning everything sed has said or done ITT but I'm really not sure why it would bother you if some people prefer not to rename bitcoin. Sad
That wasn't meant to be aggressive in the slightest, was legit happy that you made it more enjoyable with a simple 4 lines of code. More power to ya Cheesy I understand that you don't exactly condone sed's actions, and I am in no way grouping you in with him. I don't have as much of an issue with it as it seems, I just don't really understand why some people are so adamant about not renaming it though. There are some cases where it works, and some where it doesnt. Moneypot happens to be one of those cases, but that's fine. I'm pretty done with this whole convo. Lets get some positive talk up in this bitch.

Also, I like your nuts tspace Wink


Sounds good man.  I think I'm probably too old to understand the proper parsing of the various emoticons that folks use to experss themselves these days.  Smiley
Wow, doesnt even acknowledge my compliment about his nuts. How rude. Cheesy

Ha, I guess I didn't know how to say it out loud, but I'm always glad to hear that my nuts have satisfied.
I do not understand what you say  Sad

Me either, can you please clarify?
He didn't know how to explain better his point of view but now he is satisfied and his mind in relax and clear with your answer. Moneypot is working same for me as was at day first . I just lose when I do greed and want to wait little more to win more money and then suddenly it crashes.
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1078


I may write code in exchange for bitcoins.


View Profile
April 06, 2015, 02:03:44 PM
 #1727

I finally tried it.  The animation is pretty neat.  I worked pretty good for me in chromium.  However, in firefox it just froze up.

I thought someone said I could change "bits" to satoshis somewhere in the interface.  I couldn't find it though.  The "bits" thing makes it seem like play money or some new altcoin.

Also, I ended up with 0.51 "bits" which I think is 51 satoshis.  Can I gift this to someone on the site somehow?  Is there a tipping mechanism?  It seems like 100Sat is the smallest amount you're allowed to bet.

no tipping mechanism yet in moneypot as it will encourage begging in chat , and also you can use shiba for the calculation to satoshi, although i forgot the command, it will be wise for ryan to actually add a FAQ list for shiba's command

FYI 1 bits = 100 satoshis

Yes, yes, I know what a "bit" is said to equal.  I'm not wanting to go down that road again (it seems like 20% of this thread has been dedicated to fights about "bits").  I just thought that there was an option in the UI to make it say something normal like Satoshis or uBTC.  It's all good, I must have misunderstood.

Like I said, the animation was pretty neat.

Assuming you know how to make your browser run some custom javascript on a particular site/page, then you can save the following as a file and it finally fixes the "bits" conundrum.   It's so embarrasing that the site owner doesn't want to just make a fix that's part of the website (given how easy it is to fix), but these 4 lines cleaned up the playmoney lingo to call a bitcoin a bitcoin, which makes the game a lot more enjoyable for me (and for a lot of others, apparantly).

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}
var stickies = document.getElementsByClassName("sticky");
for (var i=0;i<stickies.length;i++) {
  if (stickies[i].innerHTML == "Bits")
    stickies[i].innerHTML="μBTC";
}


That is kinda neat.  Thanks sed!  Moneypot just got cooler.

Hey sed (or others),

I stuck your script into a greasemonkey/tampermonkey plugin to run on moneypot domain and it seems like part of it works great (the part which changes the balance in the top right) but the other part seems to run too early.  That is, there's some ajax on the page and I found that using tampermonkey, your script runs before the AJAX request loads the widget which says "Bits" next to your amount to bet, in the .sticky.  I don't know if you or anyone else has any advice on how to fix that (other than doing a 2 second timeout or something, which doesn't seem very elegant).  It seems like in principle you may want to overwrite the XHR prototype or something so that you can have your code run onreadystatechange == 4 or something like that.  But I'm not an expert so I thought I'd ask here.
RHavar
Legendary
*
Offline Offline

Activity: 2557
Merit: 1886



View Profile
April 06, 2015, 02:07:35 PM
 #1728

Is moneypot required high-speed internet connection ? I just lost many 10k bits Sad
I'm click cash-out at 1.2x but suddenly crashed at 1.35x & i haven't cash-out yet Sad

Speed doesn't matter as much as latency for things like this. The main problem with high latency is you try cashout at 1.2x and the server doesn't recieve the message till say 1.4x. Normally this isn't a problem, and you'll make more than you intended (an extra ~17%) but about ~17% of the time, you'll end up crashing. So even though it basically works out the same, I highly recommend using the "Auto Cash Out @" feature exclusively, where latency no longer matters. =)

Check out gamblingsitefinder.com for a decent list/rankings of crypto casinos. Note: I have no affiliation or interest in it, and don't even agree with all the rankings ... but it's the only uncorrupted review site I'm aware of.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
April 06, 2015, 03:59:48 PM
 #1729

these 4 lines cleaned up the playmoney lingo to call a bitcoin a bitcoin

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}
var stickies = document.getElementsByClassName("sticky");
for (var i=0;i<stickies.length;i++) {
  if (stickies[i].innerHTML == "Bits")
    stickies[i].innerHTML="μBTC";
}

I find your use of the overloaded term "4" to be very confusing. We already have a metric term "10" for that number of lines. I don't see any need for you to reuse an existing number for this purpose.

If you know how to use a calculator, here's some buttons you can press to convert from sed numbers to regular people numbers:

Code:
* 2.5 =

Please update your post to give us an option to decide which number system to use. It's clearly trivial as shown in the above list of calculator buttons.

Wink

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1078


I may write code in exchange for bitcoins.


View Profile
April 06, 2015, 05:52:01 PM
 #1730

these 4 lines cleaned up the playmoney lingo to call a bitcoin a bitcoin

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}
var stickies = document.getElementsByClassName("sticky");
for (var i=0;i<stickies.length;i++) {
  if (stickies[i].innerHTML == "Bits")
    stickies[i].innerHTML="μBTC";
}

I find your use of the overloaded term "4" to be very confusing. We already have a metric term "10" for that number of lines. I don't see any need for you to reuse an existing number for this purpose.

If you know how to use a calculator, here's some buttons you can press to convert from sed numbers to regular people numbers:

Code:
* 2.5 =

Please update your post to give us an option to decide which number system to use. It's clearly trivial as shown in the above list of calculator buttons.

Wink

Superfunny, I'm not sure how sed called that 4 lines (even if we collapse the two if lines, we'd get 9; even if we collapse the two for loops we'd get 6).  This is one of the funniest posts I've seen in a while.  Can't wait to see if sed wants to defend his numbering system Smiley
andolini82
Hero Member
*****
Offline Offline

Activity: 558
Merit: 500


View Profile
April 06, 2015, 07:36:59 PM
 #1731

This really fuckin fun game  Cheesy Grin

Really like..

Easy to win and easy to lose Smiley

Mist
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

:)


View Profile
April 07, 2015, 12:35:51 AM
 #1732

I was just going with the flow, didnt want to point out his counting.
CryptoID7
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
April 07, 2015, 03:52:48 AM
 #1733

good moneypot i try .. Grin

sed
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
April 07, 2015, 05:29:28 AM
 #1734

these 4 lines cleaned up the playmoney lingo to call a bitcoin a bitcoin

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}
var stickies = document.getElementsByClassName("sticky");
for (var i=0;i<stickies.length;i++) {
  if (stickies[i].innerHTML == "Bits")
    stickies[i].innerHTML="μBTC";
}

I find your use of the overloaded term "4" to be very confusing. We already have a metric term "10" for that number of lines. I don't see any need for you to reuse an existing number for this purpose.

If you know how to use a calculator, here's some buttons you can press to convert from sed numbers to regular people numbers:

Code:
* 2.5 =

Please update your post to give us an option to decide which number system to use. It's clearly trivial as shown in the above list of calculator buttons.

Wink


Ok, you're funny.  I don't know why I said four lines.  I think that in my mind I counted the lines when I had only written:

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}

Which seems like a  four liner in that the close bracket on the last line seems a little cheap to count.  BTW, you can write the block of an "if" statement without {} when it's just a single line, I dunno off the top of my head if you can leave out the brackets on a for loop in the same way.

I guess I then realized that the "bits" lingo appears down below (not just the balance at the top) and so I added the other lines.

@tspacepilot I dunno much about greasemonkey I just opened my javascript console in Chrome and pasted in the code.   And all was fine.
chrisrobs8612
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
April 07, 2015, 05:56:27 AM
 #1735

I finally tried it.  The animation is pretty neat.  I worked pretty good for me in chromium.  However, in firefox it just froze up.

I thought someone said I could change "bits" to satoshis somewhere in the interface.  I couldn't find it though.  The "bits" thing makes it seem like play money or some new altcoin.

Also, I ended up with 0.51 "bits" which I think is 51 satoshis.  Can I gift this to someone on the site somehow?  Is there a tipping mechanism?  It seems like 100Sat is the smallest amount you're allowed to bet.

no tipping mechanism yet in moneypot as it will encourage begging in chat , and also you can use shiba for the calculation to satoshi, although i forgot the command, it will be wise for ryan to actually add a FAQ list for shiba's command

FYI 1 bits = 100 satoshis

Yes, yes, I know what a "bit" is said to equal.  I'm not wanting to go down that road again (it seems like 20% of this thread has been dedicated to fights about "bits").  I just thought that there was an option in the UI to make it say something normal like Satoshis or uBTC.  It's all good, I must have misunderstood.

Like I said, the animation was pretty neat.

Assuming you know how to make your browser run some custom javascript on a particular site/page, then you can save the following as a file and it finally fixes the "bits" conundrum.   It's so embarrasing that the site owner doesn't want to just make a fix that's part of the website (given how easy it is to fix), but these 4 lines cleaned up the playmoney lingo to call a bitcoin a bitcoin, which makes the game a lot more enjoyable for me (and for a lot of others, apparantly).

Code:
var bbs = document.getElementsByClassName("balance-bits");
var b = document.getElementById("balance_bits");
for (var i=0;i<bbs.length;i++) {
  bbs[i].innerHTML="μBTC: "+b.outerHTML;
}
var stickies = document.getElementsByClassName("sticky");
for (var i=0;i<stickies.length;i++) {
  if (stickies[i].innerHTML == "Bits")
    stickies[i].innerHTML="μBTC";
}


That is kinda neat.  Thanks sed!  Moneypot just got cooler.

Hey sed (or others),

I stuck your script into a greasemonkey/tampermonkey plugin to run on moneypot domain and it seems like part of it works great (the part which changes the balance in the top right) but the other part seems to run too early.  That is, there's some ajax on the page and I found that using tampermonkey, your script runs before the AJAX request loads the widget which says "Bits" next to your amount to bet, in the .sticky.  I don't know if you or anyone else has any advice on how to fix that (other than doing a 2 second timeout or something, which doesn't seem very elegant).  It seems like in principle you may want to overwrite the XHR prototype or something so that you can have your code run onreadystatechange == 4 or something like that.  But I'm not an expert so I thought I'd ask here.


hmmm problems seem to appear out of nowhere when it comes to greasemonkey!
chrisrobs8612
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
April 08, 2015, 06:45:37 AM
 #1736

And I hope there is an alternative to greasemonkey?
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1078


I may write code in exchange for bitcoins.


View Profile
April 08, 2015, 07:12:28 AM
 #1737

And I hope there is an alternative to greasemonkey?

What's wrong with greasemonkey?  I think it's the go-to for user javascript associated with particular websites.  And shit, if the webhosts are gonna offer us scripts that run on our machines, shouldn't we write scripts that run on our machines to do what *we* please?

EDIT: FWIW you can just run javascript by cutting and pasting it into your browser's console, but greasemonkey lets you associate particular scripts with particular domains, which is really useful, I think.  I also use vimperator in firefox (iceweasel) and that also has a javascript loader.  But again, I ask what's wrong with greasemonkey?
boopy265420
Legendary
*
Offline Offline

Activity: 1876
Merit: 1005


View Profile
April 08, 2015, 07:27:52 AM
 #1738

It is very nice and pleasant to see that moneypot is up again is working perfectly.I just noticed I also played few bets everything is like before . Great work done by admin again.
RHavar
Legendary
*
Offline Offline

Activity: 2557
Merit: 1886



View Profile
April 08, 2015, 02:00:52 PM
 #1739

What's wrong with greasemonkey?  I think it's the go-to for user javascript associated with particular websites.  And shit, if the webhosts are gonna offer us scripts that run on our machines, shouldn't we write scripts that run on our machines to do what *we* please?

Never really thought about it, but this would be perfect to provide greasemonkey scripts to do things like game verifications. And I wouldn't be opposed to wrapping all use of bits with <span class="bits">n bits</span>  to make it easy for a userscript to replace with tonal-bitcoins or what ever you like.

Check out gamblingsitefinder.com for a decent list/rankings of crypto casinos. Note: I have no affiliation or interest in it, and don't even agree with all the rankings ... but it's the only uncorrupted review site I'm aware of.
cwil
Sr. Member
****
Offline Offline

Activity: 285
Merit: 259


View Profile
April 09, 2015, 12:09:46 AM
 #1740

Which seems like a  four liner in that the close bracket on the last line seems a little cheap to count.  BTW, you can write the block of an "if" statement without {} when it's just a single line, I dunno off the top of my head if you can leave out the brackets on a for loop in the same way.

You can.

Code:
var bbs = document.getElementsByClassName("balance-bits"), b = document.getElementById("balance_bits"), stickies = document.getElementsByClassName("sticky"), i;
for(i = 0; i < bbs.length; i++) bbs[i].innerHTML="μBTC: " + b.outerHTML;
for(i = 0; i < stickies.length; i++) if(stickies[i].innerHTML == "Bits") stickies[i].innerHTML="μBTC";

Down to three lines.

However, I'd do it like this:

Code:
walk = function(node) { 
  var child,next;
  switch(node.nodeType) {
    case 1: case 9: case 11:
      child = node.firstChild;
      while(child) {
        next = child.nextSibling;
        walk(child);
        child = next;
      }
      break;
    case 3:
      node.nodeValue = node.nodeValue.replace(/bits/gi, 'μBTC');
  }
}
walk(document.body);

Mostly stolen from cloud-to-butt which is mostly stolen from some post on SO.

Also use:
Code:
[].forEach.call(document.getElementsByClassName('inputs-cont'), function(e) { e.className = e.className.replace(/inputs-cont/g, ''); e.style.padding = 0; });

to fix an alignment issue.

We could also attach this method to deal with the History/Chat/Strategy section:

Code:
[].forEach.call(document.getElementsByClassName('chat-log-tab'), function(e) { e.onclick = function() { setTimeout(function() { walk(document.getElementsByClassName('log-chat')[0]); }, 10); } });

There's probably a better way to handle injection of code in the onclick events but I'm not too familiar with react.js.
Pages: « 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 [87] 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 ... 177 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!