Bitcoin Forum
November 15, 2024, 01:13:21 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 32 33 34 35 36 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 ... 161 »
  Print  
Author Topic: bustabit.com -- The Social Gambling Game  (Read 293944 times)
Mist
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

:)


View Profile
April 06, 2015, 03:21:34 AM
 #1621

Enjoy I guess you two Tongue Glad you got some sort of resolution.
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1081


I may write code in exchange for bitcoins.


View Profile
April 06, 2015, 03:32:41 AM
 #1622

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
Mist
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

:)


View Profile
April 06, 2015, 03:42:23 AM
Last edit: April 06, 2015, 04:16:30 AM by Mist
 #1623

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
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1081


I may write code in exchange for bitcoins.


View Profile
April 06, 2015, 04:18:12 AM
 #1624

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
Mist
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

:)


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

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
 #1626

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: 1081


I may write code in exchange for bitcoins.


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

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
 #1628

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
 #1629

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
 #1630

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: 1081


I may write code in exchange for bitcoins.


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

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.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1333



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

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: 1081


I may write code in exchange for bitcoins.


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

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
 #1634

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
 #1635

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
 #1636

good moneypot i try .. Grin

sed
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


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

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
 #1638

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
 #1639

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

Activity: 1456
Merit: 1081


I may write code in exchange for bitcoins.


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

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?
Pages: « 1 ... 32 33 34 35 36 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 ... 161 »
  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!