Pages:
Author

Topic: Enhanced merit UI [1.1] (Read 2998 times)

legendary
Activity: 2268
Merit: 16328
Fully fledged Merit Cycler - Golden Feather 22-23
November 08, 2022, 08:01:08 AM
#39
Hello, I am testing your Extension.
When pasting the code in Tampermonkey, I see there are various yellow triangles along the code.
Can you check everything is okay and not needing any maintenance?


Grat extension so far!

The script works without problem on my device. Yellow triangle/warning icon shown because,
1. TamperMonkey doesn't check "$" is used by jQuery library.
2. Simply showing recommendation to write the code.

Although warning message on line 8 // @include ... suggest tiny change might be needed in the future. I might make change if the script is broken in the future.

If it works, ain't fix it!

Forgot to mention, giving away a little bit of privacy, that I bought Tampermonkey for Safari, added your code and your Extension is perfectly working on MacOs too!.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
November 08, 2022, 07:43:40 AM
#38
Hello, I am testing your Extension.
When pasting the code in Tampermonkey, I see there are various yellow triangles along the code.
Can you check everything is okay and not needing any maintenance?


Grat extension so far!

The script works without problem on my device. Yellow triangle/warning icon shown because,
1. TamperMonkey doesn't check "$" is used by jQuery library.
2. Simply showing recommendation to write the code.

Although warning message on line 8 // @include ... suggest tiny change might be needed in the future. I might make change if the script is broken in the future.
legendary
Activity: 2268
Merit: 16328
Fully fledged Merit Cycler - Golden Feather 22-23
November 08, 2022, 07:16:27 AM
#37
Hello, I have just installed your extension on Chrome.
When pasting the code in Tampermonkey, I see there are various yellow triangles along the code.
Can you check everything is okay and not needing any maintenance?


Great extension so far!

Just a question: why not combine it with the Bpip extension?
staff
Activity: 2548
Merit: 2709
Join the world-leading crypto sportsbook NOW!
July 06, 2021, 01:41:59 AM
#36
Enhanced merit UI [1.3]

Thanks for the thread and also your latest improvement.
This Firefox add-on combined with the new version makes it so much easier to use. Really good - thanks a lot Cool
legendary
Activity: 2702
Merit: 4002
August 24, 2019, 05:27:25 AM
#35
I've tried it on Brave's browser and it looks good, I've sent the Merits using it.
The interface does not look as excellent as it appears, but there are no problems yet.
I will change the numbers to 4 and 6. Thanks for adding this.
And thanks for allowing scroll.
Finally thanks for your effort, you make life easier.

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
August 24, 2019, 02:10:59 AM
#34
Enhanced merit UI [1.3]

I had free time, so i decide to make few changes.



Changelog :

  • Update jQuery to 3.4.1
  • New feature : one-click sMerit send
  • New feature : check sMerit amount when click "+Merit" (experemental, disabled by default)
  • Change input type to "number" to allow scroll
  • Change code structure
  • Show text "Getting sMerit amount..." when still checking sMerit amount, re-open pop-up to show sMerit amount

Unofficial full changelog (for history/tracking purpose) :

Code:
# RELEASE NOTES

## Version 1.3

* Update jQuery to 3.4.1
* New feature : one-click sMerit send
* New feature : check sMerit amount when click "+Merit" (experemental, disabled by default)
* Change input type to "number" to allow scroll
* Change code structure
* Show text "Getting sMerit amount..." when still checking sMerit amount, re-open pop-up to show sMerit amount

## Version 1.1.2

* Remove @downloadURL to prevent the script update itself to grue's code which don't show personal/source sMerit amount
* Fix Amount of personal sMerit is deducted rather than source sMerit when source sMerit is available

## Version 1.1.1

* Show both personal and source sMerit for merit source
* Change UI for merit source

## Version 1.1-em0.1

* The available sMerit points are shown

## Version 1.1

* Fix csrf token not working when quick reply is disabled

## Version 1.0

* Initial Release

Notes :

  • There's delay when open/close popup if you enable feature check sMerit amount when click "+Merit"
  • If you want to change amount of one-click sMerit value, change value inside oneClick_amount. Example :
Code:
oneClick_amount = [1, 2, 3, 4, 5, 10, 20, 50]
  • Only tested on Mozilla Firefox with Tampermonkey

Code:
// ==UserScript==
// @name        bitcointalk merit
// @version     1.3
// @author      grue, minifrij, EcuaMobi, ETFbitcoin
// @source      https://github.com/grue0/bitcointalk-scripts/
// @source      https://bitcointalk.org/index.php?topic=2833350.0;0
// @description A very simple userscript that allows you to add merit without leaving the page
// @include     https://bitcointalk.org/index.php?topic=*
// @require     https://code.jquery.com/jquery-3.4.1.min.js
// @grant none
// ==/UserScript==

(() => {
  var sMerit, source_sMerit, check_onClick = false, oneClick_amount = [1, 2, 5, 10, 50]

  function check_sMerit(msgId){
    // Added by EcuaMobi
    $.post(
      "https://bitcointalk.org/index.php?action=merit;msg=29048068"
    ).then((data) => {
      sMerit = /You have ([0-9]+)<\/b> sendable/.exec(data)[1]
      source_sMerit = /The next ([0-9]+) merit you spend will come from your source/.exec(data)[1]
      show_popup(msgId)
    }).catch(() => sMerit = null)
  }

  function show_popup(msgId){
    if(sMerit!=null && source_sMerit==null) {
      $("#em-smerit-count" + msgId).html('Available: '+sMerit+'    ')
    } else if (sMerit!=null && source_sMerit!=null) {
      $("#em-smerit-count" + msgId).html('Available (yours | source): '+sMerit+' | '+source_sMerit+'    ')
    }else{
      $("#em-smerit-count" + msgId).html('Getting sMerit amount...
   ')
    }
    $("#grue-merit-popup" + msgId).toggle()
  }

  // get csrf token from the logout link
  let sc = $('td.maintab_back a[href*="index.php?action=logout;sesc="').attr("href");
  sc = /;sesc=(.*)/.exec(sc)[1];

  // Get remaining sMerit
  check_sMerit()

  // selector for the "+Merit" link
  $('td.td_headerandpost div[id^=ignmsgbttns] a[href*="index.php?action=merit;msg="]').each((i, e) => {
    const msgId = /msg=([0-9]+)/.exec(e.href)[1]

    let oneClick_html = `
      

        One-click send :
      

    `
    oneClick_amount.forEach((amount) => {
      oneClick_html += `
        

          
          
        

      `
    })

    const $popup = $(['
',
      oneClick_html,
      '  
',
      '  
',
      '    
',
      '      Merit points: ',
      '    
',
      '    
',
      '  
',
      '
'
    ].join("\n"))
    $popup.find("form").submit( (e) => {
      e.preventDefault()
      $popup.find('.sendButton')
        .prop("disabled", true)
        .val("Sending...")
      $popup.find('.oneClick')
        .prop("disabled", true)
      const merits = e.target.elements["merits"].value;

      $.post(
        "https://bitcointalk.org/index.php?action=merit",
        {merits, msgID: msgId, sc}
      ).then((data) => {
        //Error pages usually have this (rough heuristic)
        if(data.includes("An Error Has Occurred!</title")) {<br />          throw "error"<br />        }<br />        //double check and see whether the post we merited was added to the list. Its msgId should be visible in the page source.<br />        if(data.includes("#msg" + msgId)) {<br />          alert("Merit added.")<br />          $("#grue-merit-popup" + msgId).toggle(false)<br />          if(!check_onClick){<br />            if(source_sMerit!=null && source_sMerit-merits>=0){<br />              source_sMerit -= merits<br />            }else if(source_sMerit!=null && source_sMerit>0){<br />              sMerit -= merits-source_sMerit<br />              source_sMerit = 0<br />            }else if(sMerit!=null){<br />              sMerit -= merits<br />            }<br />          }<br />          return<br />        }<br />        alert("Server response indeterminate.")<br />      })<br />      .catch(() => alert("Failed to add merit."))<br />      .always(() => {<br />        $popup.find('.sendButton')<br />          .prop("disabled", false)<br />          .val("Send")<br />        $popup.find('.oneClick')<br />          .prop("disabled", true)<br />      })<br />    })<br />    $popup.insertAfter(e)<br /><br />    $(e).click((e) => {<br />      e.preventDefault()<br />      if(check_onClick){<br />        check_sMerit(msgId)<br />      }else{<br />        show_popup(msgId)<br />      }<br />    })<br />  })<br />  $(".grue-merit-popup").toggle(false)<br />})()<br /></pre></div> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/abcbits-359716" title="Profile of ABCbits">ABCbits</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2870</div> <div class="merit">Merit: 7490</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_359716.png" alt="" title="Profile photo of ABCbits"> </div> <div class="description">Crypto Swap Exchange</div> <div class="view-profile"> <a href="/user/abcbits-359716" title="Profile of ABCbits"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg52119037"></a> <a href="/topic/m.52119037">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">August 10, 2019, 06:07:57 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.52119037">#33</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.52118428">Quote from: hugeblack on August 10, 2019, 04:50:52 AM</a></div><div class="quote">I did not notice these bugs, the script works normally. There were some errors in updating the source values ​​but after refreshing the page everything works normally.<br /></div><br />That's because the script get sMerit amount when you load the page & didn't check if you send sMerit on different page afterwards.<br />The original script (before i modify it) works that way, so i don't change it.<br /><br /><div class="quote-header"><a href="/topic/m.52118428">Quote from: hugeblack on August 10, 2019, 04:50:52 AM</a></div><div class="quote">Generally, if you have some time, this update will be important for lazy people like me*:<br /><br /> - Sending Merits quickly, instead of typing the number and then clicking Send, the numbers (1,2,5,10) are clickable.<br /><br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Ft7jRa4T.png&t=667&c=Y0gVvT4sjfQYww" alt="" border="0" /></div></div><br />I'm also lazy people as well, so i'll do it when i have free time and not being lazy. </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack">hugeblack</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2702</div> <div class="merit">Merit: 4002</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_1059082.png" alt="" title="Profile photo of hugeblack"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg52118428"></a> <a href="/topic/m.52118428">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">August 10, 2019, 04:50:52 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.52118428">#32</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.52097896">Quote from: ABCbits on August 08, 2019, 03:47:04 AM</a></div><div class="quote">Recently i got my source sMerit filled & i found 2 minor bug :<br />1. I forgot to remove <tt>@downloadURL</tt> which causes the script update itself to grue's code which don't show personal/source sMerit amount<br />2. Amount of personal sMerit is deducted rather than source sMerit when source sMerit is available<br /></div>I did not notice these bugs, the script works normally. There were some errors in updating the source values ​​but after refreshing the page everything works normally.<br />Generally, if you have some time, this update will be important for lazy people like me*:<br /><br /> - Sending Merits quickly, instead of typing the number and then clicking Send, the numbers (1,2,5,10) are clickable.<br /><br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Ft7jRa4T.png&t=667&c=Y0gVvT4sjfQYww" alt="" border="0" /></div> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/abcbits-359716" title="Profile of ABCbits">ABCbits</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2870</div> <div class="merit">Merit: 7490</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_359716.png" alt="" title="Profile photo of ABCbits"> </div> <div class="description">Crypto Swap Exchange</div> <div class="view-profile"> <a href="/user/abcbits-359716" title="Profile of ABCbits"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg52097896"></a> <a href="/topic/m.52097896">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">August 08, 2019, 03:47:04 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.52097896">#31</a> </div> </div> <div class="content"> Recently i got my source sMerit filled & i found 2 minor bug :<br />1. I forgot to remove <tt>@downloadURL</tt> which causes the script update itself to grue's code which don't show personal/source sMerit amount<br />2. Amount of personal sMerit is deducted rather than source sMerit when source sMerit is available<br /><br />So i decide to fix it<br /><br /><div class="codeheader">Code:</div><div class="code"><pre style="margin-top: 0; display: inline;">// ==UserScript==<br />// @name        bitcointalk merit<br />// @namespace   grue<br />// @include     https://bitcointalk.org/index.php?topic=*<br />// @require     https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js<br />// @version     1.1.2<br />// @grant none<br />// ==/UserScript==<br /><br />(() => {<br />  var sMerit, source_sMerit;<br /><br />  //get csrf token from the logout link<br />  let sc = $('td.maintab_back a[href*="index.php?action=logout;sesc="').attr("href");<br />  sc = /;sesc=(.*)/.exec(sc)[1];<br /><br />  //Added by EcuaMobi: Get remaining sMerit<br />  $.post(<br />  "https://bitcointalk.org/index.php?action=merit;msg=29048068"<br />  ).then((data) => {<br />    sMerit = /You have <b>([0-9]+)<\/b> sendable/.exec(data)[1];<br />    source_sMerit = /The next ([0-9]+) merit you spend will come from your source/.exec(data)[1];<br />  }).catch(() => sMerit = null);<br /><br />  //selector for the "+Merit" link<br />  $('td.td_headerandpost div[id^=ignmsgbttns] a[href*="index.php?action=merit;msg="]')<br />  .each((i, e) => {<br />    const msgId = /msg=([0-9]+)/.exec(e.href)[1];<br /><br />    const $popup = $(['<div id="grue-merit-popup' + msgId +'" class="grue-merit-popup" style="position: absolute; right: 40px; background-color: #ddd; font-size: 13px; padding: 8px;border-width: 1px;border-color: black;border-style: solid;">',<br />      '  <form>',<br />      '    <div>',<br />      '      Merit points: <input size="6" name="merits" value="1" type="text"/>',<br />      '    </div>',<br />  // Modified by EcuaMobi<br />      '    <div style="margin-top: 6px; "><span id="em-smerit-count' + msgId +'" style="font-size:11px;" /> <input value="Send" type="submit"></div>',<br />      '  </form>',<br />      '</div>'<br />    ].join("\n"));<br />    $popup.find("form").submit( (e) => {<br />      e.preventDefault();<br />      $popup.find('input[type="submit"]')<br />        .prop("disabled", true)<br />        .val("Sending...");<br />      const merits = e.target.elements["merits"].value;<br /><br />      $.post(<br />        "https://bitcointalk.org/index.php?action=merit",<br />        {merits, msgID: msgId, sc}<br />      ).then((data) => {<br />        //Error pages usually have this (rough heuristic)<br />        if(data.includes("<title>An Error Has Occurred!</title")) {<br />          throw "error";<br />        }<br />        //double check and see whether the post we merited was added to the list. Its msgId should be visible in the page source.<br />        if(data.includes("#msg" + msgId)) {<br />          alert("Merit added.");<br />          $("#grue-merit-popup" + msgId).toggle(false);<br />          // Added by EcuaMobi<br />          if(source_sMerit!=null && source_sMerit-merits>=0){<br />            source_sMerit -= merits<br />          }else if(source_sMerit!=null && source_sMerit>0){<br />            sMerit -= merits-source_sMerit<br />            source_sMerit = 0<br />          }else if(sMerit!=null){<br />            sMerit -= merits<br />          }<br />          return;<br />        }<br />        alert("Server response indeterminate.");<br />      })<br />      .catch(() => alert("Failed to add merit."))<br />      .always(() => {<br />        $popup.find('input[type="submit"]')<br />        .prop("disabled", false)<br />        .val("Send");<br />      });<br />    });<br />    $popup.insertAfter(e);<br /><br />    $(e).click((e) => {<br />      e.preventDefault();<br />      $("#grue-merit-popup" + msgId).toggle();<br />  // Added by EcuaMobi<br />  if(sMerit!=null && source_sMerit==null) {<br />      $("#em-smerit-count" + msgId).html('<a href="https://bitcointalk.org/index.php?action=merit;msg='+msgId+'" rel="nofollow" target="_blank">Available:</a> <b>'+sMerit+'</b>    ')<br />    } else if (sMerit!=null && source_sMerit!=null) {<br />      $("#em-smerit-count" + msgId).html('<a href="https://bitcointalk.org/index.php?action=merit;msg='+msgId+'" rel="nofollow" target="_blank">Available (yours | source):</a> <b>'+sMerit+' | '+source_sMerit+'</b>    ')<br />    };<br />    });<br />  });<br />   $(".grue-merit-popup").toggle(false);<br />})();<br /></pre></div> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/babo-65636" title="Profile of babo">babo</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 3696</div> <div class="merit">Merit: 4343</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_65636.png" alt="" title="Profile photo of babo"> </div> <div class="description">The hacker spirit breaks any spell</div> <div class="view-profile"> <a href="/user/babo-65636" title="Profile of babo"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51992763"></a> <a href="/topic/m.51992763">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 29, 2019, 05:47:10 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51992763">#30</a> </div> </div> <div class="content"> Awesome! i love this userscript, and now i love more<br /><br />very good and usefull<br /><br /><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fj5jFw1B.png&t=667&c=hcGXtBDGgDf1zw" alt="" border="0" /><br /><br />thank you so much for your update </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/cabalism13-1605387" title="Profile of cabalism13">cabalism13</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 1428</div> <div class="merit">Merit: 1166</div> <div class="avatar"> </div> <div class="description">🤩Finally Married🤩</div> <div class="view-profile"> <a href="/user/cabalism13-1605387" title="Profile of cabalism13"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51990279"></a> <a href="/topic/m.51990279">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 29, 2019, 12:33:45 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51990279">#29</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.51976977">Quote from: hugeblack on July 28, 2019, 01:19:35 AM</a></div><div class="quote"><div class="quote-header"><a href="/topic/m.51972715">Quote from: ABCbits on July 27, 2019, 01:57:51 PM</a></div><div class="quote">-snip-<br /></div>It worked, thanks for your effort.<br />The update looks better than what I suggested.<br />I did not notice @EcuaMobi update because I do not read all comments so I wish more than one user could make some changes to update the topic. (Create a topic with multiple update powers)<br />@grue ----> Last Active:   August 01, 2018, 05:00:20 AM<br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F5nVAksy.png&t=667&c=Kld3tejRxbkQcA" alt="" border="0" /></div><div align="center"><span style="color: silver;"><span style="font-size: 6pt !important; line-height: 1.3em;">*I made some adjustments to hide my Merits.</span></span></div></div><br />I guess will try it though...<br />I somewhat accidentally gave dogtana a Merit... What a mistake... <br /><br />By the way @hugeblack does it really work with our Source Merits? Have you tried using it (spend it) </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack">hugeblack</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2702</div> <div class="merit">Merit: 4002</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_1059082.png" alt="" title="Profile photo of hugeblack"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51976977"></a> <a href="/topic/m.51976977">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 28, 2019, 01:19:35 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51976977">#28</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.51972715">Quote from: ABCbits on July 27, 2019, 01:57:51 PM</a></div><div class="quote">-snip-<br /></div>It worked, thanks for your effort.<br />The update looks better than what I suggested.<br />I did not notice @EcuaMobi update because I do not read all comments so I wish more than one user could make some changes to update the topic. (Create a topic with multiple update powers)<br />@grue ----> Last Active:   August 01, 2018, 05:00:20 AM<br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F5nVAksy.png&t=667&c=Kld3tejRxbkQcA" alt="" border="0" /></div><div align="center"><span style="color: silver;"><span style="font-size: 6pt !important; line-height: 1.3em;">*I made some adjustments to hide my Merits.</span></span></div> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/abcbits-359716" title="Profile of ABCbits">ABCbits</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2870</div> <div class="merit">Merit: 7490</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_359716.png" alt="" title="Profile photo of ABCbits"> </div> <div class="description">Crypto Swap Exchange</div> <div class="view-profile"> <a href="/user/abcbits-359716" title="Profile of ABCbits"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51972715"></a> <a href="/topic/m.51972715">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 27, 2019, 01:57:51 PM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51972715">#27</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.51969177">Quote from: hugeblack on July 27, 2019, 08:25:54 AM</a></div><div class="quote">Sorry for Bumping this. & thanks for creating it.<br />I've made some edits to update the page after sending sMerits.<br />Is it possible to display full sMerit amount on the same screen?<br />sMerit and source Merits. Something like this<br /><br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FeVZ7Cti.png&t=667&c=3fQaumH5lPYUEA" alt="" border="0" /></div><br /><hr />Edit: Not only @<b><a class="ul" href="/topic/m.30923337">EcuaMobi</a></b> update but total amount (Merit source + sMerit)<br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FL5xiXfT.png&t=667&c=kwD--5-bo6bgCw" alt="" border="0" /></div></div><br />It's piece of cake, i've made slight modification for your need :<br /><br /><div class="codeheader">Code:</div><div class="code"><pre style="margin-top: 0; display: inline;">// ==UserScript==<br />// @name        bitcointalk merit<br />// @namespace   grue<br />// @include     https://bitcointalk.org/index.php?topic=*<br />// @require     https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js<br />// @version     1.1.1<br />// @downloadURL https://grue.blob.core.windows.net/scripts/Merit.user.js?sv=2014-02-14&si=1&sr=c&sig=k%2BqstGBI3oQ8TrHfPWjS5HgjrazuDPmKJ6rYNs7rvRk%3D&.user.js<br />// @grant none<br />// ==/UserScript==<br /><br />(() => {<br />  var sMerit;<br />  var source_sMerit;<br /><br />  //get csrf token from the logout link<br />  let sc = $('td.maintab_back a[href*="index.php?action=logout;sesc="').attr("href");<br />  sc = /;sesc=(.*)/.exec(sc)[1];<br /><br />  //Added by EcuaMobi: Get remaining sMerit<br />  $.post(<br /> "https://bitcointalk.org/index.php?action=merit;msg=29048068"<br />  ).then((data) => {<br />    sMerit = /You have <b>([0-9]+)<\/b> sendable/.exec(data)[1];<br />    source_sMerit = /The next ([0-9]+) merit you spend will come from your source/.exec(data)[1];<br />  }).catch(() => sMerit = null);<br /><br />  //selector for the "+Merit" link<br />  $('td.td_headerandpost div[id^=ignmsgbttns] a[href*="index.php?action=merit;msg="]')<br />  .each((i, e) => {<br />    const msgId = /msg=([0-9]+)/.exec(e.href)[1];<br /><br />    const $popup = $(['<div id="grue-merit-popup' + msgId +'" class="grue-merit-popup" style="position: absolute; right: 40px; background-color: #ddd; font-size: 13px; padding: 8px;border-width: 1px;border-color: black;border-style: solid;">',<br />      '  <form>',<br />      '    <div>',<br />      '      Merit points: <input size="6" name="merits" value="1" type="text"/>',<br />      '    </div>',<br />  // Modified by EcuaMobi<br />      '    <div style="margin-top: 6px; "><span id="em-smerit-count' + msgId +'" style="font-size:11px;" /> <input value="Send" type="submit"></div>',<br />      '  </form>',<br />      '</div>'<br />    ].join("\n"));<br />    $popup.find("form").submit( (e) => {<br />      e.preventDefault();<br />      $popup.find('input[type="submit"]')<br />        .prop("disabled", true)<br />        .val("Sending...");<br />      const merits = e.target.elements["merits"].value;<br /><br />      $.post(<br />        "https://bitcointalk.org/index.php?action=merit",<br />        {merits, msgID: msgId, sc}<br />      ).then((data) => {<br />        //Error pages usually have this (rough heuristic)<br />        if(data.includes("<title>An Error Has Occurred!</title")) {<br />          throw "error";<br />        }<br />        //double check and see whether the post we merited was added to the list. Its msgId should be visible in the page source.<br />        if(data.includes("#msg" + msgId)) {<br />          alert("Merit added.");<br />          $("#grue-merit-popup" + msgId).toggle(false);<br />  // Added by EcuaMobi<br />  if(sMerit!=null) { sMerit -= merits }<br />          return;<br />        }<br />        alert("Server response indeterminate.");<br />      })<br />      .catch(() => alert("Failed to add merit."))<br />      .always(() => {<br />        $popup.find('input[type="submit"]')<br />        .prop("disabled", false)<br />        .val("Send");<br />      });<br />    });<br />    $popup.insertAfter(e);<br /><br />    $(e).click((e) => {<br />      e.preventDefault();<br />      $("#grue-merit-popup" + msgId).toggle();<br />  // Added by EcuaMobi<br />  if(sMerit!=null && source_sMerit==null) {<br />      $("#em-smerit-count" + msgId).html('<a href="https://bitcointalk.org/index.php?action=merit;msg='+msgId+'" rel="nofollow" target="_blank">Available:</a> <b>'+sMerit+'</b>    ')<br />    } else if (sMerit!=null && source_sMerit!=null) {<br />      $("#em-smerit-count" + msgId).html('<a href="https://bitcointalk.org/index.php?action=merit;msg='+msgId+'" rel="nofollow" target="_blank">Available (yours | source):</a> <b>'+sMerit+' | '+source_sMerit+'</b>    ')<br />    };<br />    });<br />  });<br />   $(".grue-merit-popup").toggle(false);<br />})();<br /></pre></div><br />It's based on version 1.1 & i separate personal and source merit amount. I did it in a minute, so i hope there aren't any logic error.<br /><br />Edit : screenshot if you're merit source. If you're not, it's exactly same with version 1.1<br /><br /><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.ibb.co%2F6syStGT%2F111.png&t=667&c=aSu2tov4p4jWAQ" alt="" border="0" /> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/dogtana-1794927" title="Profile of dogtana">dogtana</a> </div> <div class="position">member</div> <div class="position-coins"> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 845</div> <div class="merit">Merit: 56</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/dogtana-1794927" title="Profile of dogtana"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51969475"></a> <a href="/topic/m.51969475">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 27, 2019, 08:48:31 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51969475">#26</a> </div> </div> <div class="content"> I gave you my pre-last smerit for this. </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack">hugeblack</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 2702</div> <div class="merit">Merit: 4002</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_1059082.png" alt="" title="Profile photo of hugeblack"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/hugeblack-1059082" title="Profile of hugeblack"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51969177"></a> <a href="/topic/m.51969177">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">July 27, 2019, 08:25:54 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51969177">#25</a> </div> </div> <div class="content"> Sorry for Bumping this. & thanks for creating it.<br />I've made some edits to update the page after sending sMerits.<br />Is it possible to display full sMerit amount on the same screen?<br />sMerit and source Merits. Something like this<br /><br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FeVZ7Cti.png&t=667&c=3fQaumH5lPYUEA" alt="" border="0" /></div><br /><hr />Edit: Not only @<b><a class="ul" href="/topic/m.30923337">EcuaMobi</a></b> update but total amount (Merit source + sMerit)<br /><div align="center"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FL5xiXfT.png&t=667&c=kwD--5-bo6bgCw" alt="" border="0" /></div> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/babo-65636" title="Profile of babo">babo</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 3696</div> <div class="merit">Merit: 4343</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_65636.png" alt="" title="Profile photo of babo"> </div> <div class="description">The hacker spirit breaks any spell</div> <div class="view-profile"> <a href="/user/babo-65636" title="Profile of babo"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51606522"></a> <a href="/topic/m.51606522">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">June 26, 2019, 03:00:29 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51606522">#24</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.51598924">Quote from: jademaxsuy on June 25, 2019, 10:59:36 AM</a></div><div class="quote">What a very nice Input of you OP. As this could be helpful especially to the merit source on giving merits on quality posts. Well, this should be integrated by the bitcointalk forum itself. You can PM theymos for this OP having a new feature an easy, fast and reliable way on giving merits. Congratulations OP for this.<br /></div><br />the greasemoney/tampermonkey scripts born because some enhancment isnt possible to develop <img src="https://bitcointalk.org/Smileys/default/smiley.gif" alt="Smiley" border="0" /> (for many reason)<br />i not think theymos 'update' UX of merit form </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/jademaxsuy-1788599" title="Profile of jademaxsuy">jademaxsuy</a> </div> <div class="position">full member</div> <div class="position-coins"> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 924</div> <div class="merit">Merit: 221</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/jademaxsuy-1788599" title="Profile of jademaxsuy"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51598924"></a> <a href="/topic/m.51598924">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">June 25, 2019, 10:59:36 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51598924">#23</a> </div> </div> <div class="content"> What a very nice Input of you OP. As this could be helpful especially to the merit source on giving merits on quality posts. Well, this should be integrated by the bitcointalk forum itself. You can PM theymos for this OP having a new feature an easy, fast and reliable way on giving merits. Congratulations OP for this. </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/babo-65636" title="Profile of babo">babo</a> </div> <div class="position">legendary</div> <div class="position-coins"> <img src="/images/user_position/legendary.gif" alt="" title="Legendary level"> </div> <div class="activity">Activity: 3696</div> <div class="merit">Merit: 4343</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_65636.png" alt="" title="Profile photo of babo"> </div> <div class="description">The hacker spirit breaks any spell</div> <div class="view-profile"> <a href="/user/babo-65636" title="Profile of babo"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51582380"></a> <a href="/topic/m.51582380">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">June 24, 2019, 04:11:30 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51582380">#22</a> </div> </div> <div class="content"> very nice script, very usefull <img src="https://bitcointalk.org/Smileys/default/smiley.gif" alt="Smiley" border="0" /><br /><br />thank you for this ehancement <img src="https://bitcointalk.org/Smileys/default/wink.gif" alt="Wink" border="0" /><br /><br /><i>better than website <img src="https://bitcointalk.org/Smileys/default/tongue.gif" alt="Tongue" border="0" /> lol</i> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/omer-jamal-2119275" title="Profile of omer-jamal">omer-jamal</a> </div> <div class="position">sr. member</div> <div class="position-coins"> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 490</div> <div class="merit">Merit: 275</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/omer-jamal-2119275" title="Profile of omer-jamal"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51538428"></a> <a href="/topic/m.51538428">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">June 20, 2019, 11:55:41 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51538428">#21</a> </div> </div> <div class="content"> Awesome tool, I got an idea about script tool extension from this tool ..<br /><del>Is it possible Make the box hide when click out?</del> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/quickseller-358020" title="Profile of Quickseller">Quickseller</a> </div> <div class="position">copper member</div> <div class="position-coins"> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 2996</div> <div class="merit">Merit: 2374</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/quickseller-358020" title="Profile of Quickseller"><img src="/images/profile_sm.gif" alt=""></a> </div> </div> <div class="message-data"> <div class="header clearfix"> <div class="icon"> <img src="/images/xx.gif" alt=""> </div> <div class="title-wrapper"> <div class="title"> <a name="msg51531479"></a> <a href="/topic/m.51531479">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">June 20, 2019, 12:25:23 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.51531479">#20</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.30923337">Quote from: EcuaMobi on February 23, 2018, 01:58:58 PM</a></div><div class="quote">I have combined my <a class="ul" href="/topic/m.29410086">own suggestion</a> as well as <a class="ul" href="/topic/m.29798554">sncc's</a> and modified grue's script to implement them.<br /><br />This is the result:<br /><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FL5xiXfT.png&t=667&c=kwD--5-bo6bgCw" alt="Loading image..." border="0" /><br /><br />The available sMerit points are shown. 'Available' is a link which opens the default <a class="ul" href="https://bitcointalk.org/index.php?action=merit;msg=30923337" rel="nofollow" target="_blank">https://bitcointalk.org/index.php?action=merit;msg=30923337</a> (with the corresponding <i>msg</i>) in a new window to keep the original functionality.<br /></div>As an FYI, if you are a merit source, this will not account for your source merit, and will only display your accumulated sMerit. <br /><br />This is a script I will be using. I like not having to deal with a popup every time I give merit. </div> </div> </div> </div> </div> <div class="pagination-wrapper"> <span class="pages-text ">Pages:</span> <ul class="pagination"><li class="prev disabled"><span>«</span></li> <li class="active"><a href="/topic/enhanced-merit-ui-11-2833350" data-page="0">1</a></li> <li><a href="/topic/enhanced-merit-ui-11-2833350/2-page.html" data-page="1">2</a></li> <li class="next"><a href="/topic/enhanced-merit-ui-11-2833350/2-page.html" data-page="1">»</a></li></ul> </div></div> </div> <div class="breadcrumbs"><a href="/" title="Home">Bitcoin Forum</a><span>></span><a href="/other-1000000004" title="Other category">Other</a><span>></span><a href="/meta-24" title="Meta category">Meta</a></div> <div class="jump-to pull-right"> <div class="inner"> <div class="content text-right"> <div class="text">Jump to: </div> <form id="jump-to-form" class="jump-to-form-class" action="/forum/default/jump-to-category" method="post"> <input type="hidden" name="_csrf-frontend" value="K9KacLHFtE-y4fHA2TCVYPaHbTjKpHtgfDL03Nj7ca4cv6xA9L3CIuHQhqWhZ6wG28AlC4XgL1REZ5CuobYfmA=="> <select id="jumptoform-category_id" class="" name="JumpToForm[category_id]" aria-required="true"> <option value="">Please select a destination:</option> <option value="1000000001">Bitcoin</option> <option value="1">=> Bitcoin Discussion</option> <option value="74">===> Legal</option> <option value="77">===> Press</option> <option value="86">===> Meetups</option> <option value="87">===> Important Announcements</option> <option value="6">=> Development & Technical Discussion</option> <option value="37">===> Wallet software</option> <option value="98">=====> Electrum</option> <option value="100">=====> Bitcoin Wallet for Android</option> <option value="138">=====> BitcoinJ</option> <option value="97">=====> Armory</option> <option value="231">=====> Mycelium</option> <option value="261">=====> Hardware wallets</option> <option value="4">=> Bitcoin Technical Support</option> <option value="12">=> Project Development</option> <option value="14">=> Mining</option> <option value="40">===> Mining support</option> <option value="41">===> Pools</option> <option value="42">===> Mining software (miners)</option> <option value="76">===> Hardware</option> <option value="137">=====> Group buys</option> <option value="81">===> Mining speculation</option> <option value="1000000003">Economy</option> <option value="7">=> Economics</option> <option value="57">===> Speculation</option> <option value="5">=> Marketplace</option> <option value="53">===> Currency exchange</option> <option value="56">===> Gambling</option> <option value="71">=====> Games and rounds</option> <option value="207">=====> Investor-based games</option> <option value="228">=====> Gambling discussion</option> <option value="65">===> Lending</option> <option value="88">=====> Long-term offers</option> <option value="78">===> Securities</option> <option value="73">===> Auctions</option> <option value="84">===> Service Announcements</option> <option value="212">=====> Micro Earnings</option> <option value="85">===> Service Discussion</option> <option value="222">=====> Web Wallets</option> <option value="223">=====> Exchanges</option> <option value="51">===> Goods</option> <option value="75">=====> Computer hardware</option> <option value="93">=====> Digital goods</option> <option value="234">=======> Invites & Accounts</option> <option value="217">=====> Collectibles</option> <option value="52">===> Services</option> <option value="8">=> Trading Discussion</option> <option value="83">===> Scam Accusations</option> <option value="129">===> Reputation</option> <option value="1000000004">Other</option> <option value="24">=> Meta</option> <option value="167">===> New forum software</option> <option value="168">===> Bitcoin Wiki</option> <option value="39">=> Beginners & Help</option> <option value="9">=> Off-topic</option> <option value="250">=> Serious discussion</option> <option value="251">===> Ivory Tower</option> <option value="59">=> Archival</option> <option value="17">===> Chinese students</option> <option value="25">===> Obsolete (buying)</option> <option value="26">===> Obsolete (selling)</option> <option value="99">===> MultiBit</option> <option value="44">===> CPU/GPU Bitcoin mining hardware</option> <option value="92">===> Корзина</option> <option value="34">=> Politics & Society</option> <option value="1000000006">Alternate cryptocurrencies</option> <option value="67">=> Altcoin Discussion</option> <option value="159">=> Announcements (Altcoins)</option> <option value="240">===> Tokens (Altcoins)</option> <option value="160">=> Mining (Altcoins)</option> <option value="199">===> Pools (Altcoins)</option> <option value="161">=> Marketplace (Altcoins)</option> <option value="197">===> Service Announcements (Altcoins)</option> <option value="198">===> Service Discussion (Altcoins)</option> <option value="238">===> Bounties (Altcoins)</option> <option value="224">=> Speculation (Altcoins)</option> <option value="1000000005">Local</option> <option value="241">=> العربية (Arabic)</option> <option value="242">===> العملات البديلة (Altcoins)</option> <option value="265">=====> النقاشات</option> <option value="253">===> إستفسارات و أسئلة المبتدئين</option> <option value="266">===> التعدين</option> <option value="267">===> النقاشات الأخرى</option> <option value="271">===> منصات التبادل</option> <option value="191">=> Bahasa Indonesia (Indonesian)</option> <option value="194">===> Mining (Bahasa Indonesia)</option> <option value="192">===> Altcoins (Bahasa Indonesia)</option> <option value="276">===> Trading dan Spekulasi</option> <option value="277">===> Ekonomi, Politik, dan Budaya</option> <option value="278">===> Topik Lainnya</option> <option value="193">===> Marketplace (Bahasa Indonesia)</option> <option value="30">=> 中文 (Chinese)</option> <option value="117">===> 跳蚤市场</option> <option value="118">===> 山寨币</option> <option value="119">===> 媒体</option> <option value="146">===> 挖矿</option> <option value="196">===> 离题万里</option> <option value="201">=> Hrvatski (Croatian)</option> <option value="220">===> Trgovina</option> <option value="221">===> Altcoins (Hrvatski)</option> <option value="273">=====> Announcements (Hrvatski)</option> <option value="272">===> Off-topic (Hrvatski)</option> <option value="13">=> Français</option> <option value="184">===> Vos sites et projets</option> <option value="50">===> Hors-sujet</option> <option value="183">===> Actualité et News</option> <option value="208">===> Débutants</option> <option value="47">===> Discussions générales et utilisation du Bitcoin</option> <option value="48">===> Mining et Hardware</option> <option value="187">===> Économie et spéculation</option> <option value="49">===> Place de marché</option> <option value="210">=====> Produits et services</option> <option value="211">=====> Petites annonces</option> <option value="209">=====> Échanges</option> <option value="188">===> Le Bitcoin et la loi</option> <option value="54">===> Wiki, documentation et traduction</option> <option value="186">===> Développement et technique</option> <option value="149">===> Altcoins (Français)</option> <option value="258">=====> Annonces</option> <option value="89">=> India</option> <option value="121">===> Mining (India)</option> <option value="122">===> Marketplace (India)</option> <option value="123">===> Regional Languages (India)</option> <option value="124">===> Press & News from India</option> <option value="125">===> Alt Coins (India)</option> <option value="126">===> Buyer/ Seller Reputations (India)</option> <option value="127">===> Off-Topic (India)</option> <option value="28">=> Italiano (Italian)</option> <option value="153">===> Guide (Italiano)</option> <option value="169">===> Progetti</option> <option value="205">===> Discussioni avanzate e sviluppo</option> <option value="175">===> Trading, analisi e speculazione</option> <option value="170">===> Mercato</option> <option value="46">=====> Mercato valute</option> <option value="107">=====> Beni</option> <option value="171">=====> Servizi</option> <option value="172">=====> Esercizi commerciali</option> <option value="173">=====> Hardware/Mining (Italiano)</option> <option value="200">=====> Gambling (Italiano)</option> <option value="162">===> Accuse scam/truffe</option> <option value="115">===> Mining (Italiano)</option> <option value="132">===> Alt-Currencies (Italiano)</option> <option value="176">=====> Annunci</option> <option value="144">===> Raduni/Meeting (Italiano)</option> <option value="165">===> Crittografia e decentralizzazione</option> <option value="145">===> Off-Topic (Italiano)</option> <option value="79">=> Nederlands (Dutch)</option> <option value="80">===> Markt</option> <option value="94">===> Gokken/lotterijen</option> <option value="116">===> Mining (Nederlands)</option> <option value="143">===> Beurzen</option> <option value="147">===> Alt Coins (Nederlands)</option> <option value="148">===> Off-topic (Nederlands)</option> <option value="150">===> Meetings (Nederlands)</option> <option value="82">=> 한국어 (Korean)</option> <option value="182">===> 대체코인 Alt Coins (한국어)</option> <option value="10">=> Русский (Russian)</option> <option value="22">===> Новички</option> <option value="23">===> Бизнес</option> <option value="236">=====> Барахолка</option> <option value="237">=====> Обменники</option> <option value="90">===> Идеи</option> <option value="66">===> Кодеры</option> <option value="21">===> Майнеры</option> <option value="91">===> Политика</option> <option value="20">===> Трейдеры</option> <option value="72">===> Альтернативные криптовалюты</option> <option value="248">=====> Токены</option> <option value="256">=====> Бayнти и aиpдpoпы</option> <option value="55">===> Хайпы</option> <option value="185">===> Работа</option> <option value="18">===> Разное</option> <option value="262">===> Oбcyждeниe Bitcoin</option> <option value="128">=====> Новости</option> <option value="19">=====> Юристы</option> <option value="108">=> Română (Romanian)</option> <option value="109">===> Anunturi importante</option> <option value="114">===> Presa</option> <option value="110">===> Offtopic</option> <option value="111">===> Market</option> <option value="257">=====> Discutii Servicii</option> <option value="166">===> Minerit</option> <option value="112">===> Tutoriale</option> <option value="113">===> Bine ai venit!</option> <option value="259">===> Altcoins (Monede Alternative)</option> <option value="178">=====> Anunturi Monede Alternative</option> <option value="45">=> Skandinavisk</option> <option value="133">=> Türkçe (Turkish)</option> <option value="180">===> Bitcoin Haberleri</option> <option value="189">===> Ekonomi</option> <option value="190">===> Servisler</option> <option value="232">=====> Fonlar</option> <option value="157">===> Alternatif Kripto-Paralar</option> <option value="235">=====> Madencilik (Alternatif Kripto-Paralar)</option> <option value="239">=====> Duyurular (Alternatif Kripto-Paralar)</option> <option value="155">===> Pazar Alanı</option> <option value="156">===> Madencilik</option> <option value="229">===> Proje Geliştirme</option> <option value="158">===> Konu Dışı</option> <option value="174">===> Yeni Başlayanlar & Yardım</option> <option value="230">===> Buluşmalar</option> <option value="29">=> Português (Portuguese)</option> <option value="131">===> Primeiros Passos (Iniciantes)</option> <option value="69">===> Economia & Mercado</option> <option value="181">===> Criptomoedas Alternativas</option> <option value="134">===> Brasil</option> <option value="135">===> Portugal</option> <option value="70">===> Mineração em Geral</option> <option value="206">===> Desenvolvimento & Discussões Técnicas</option> <option value="95">=> עברית (Hebrew)</option> <option value="219">=> Pilipinas</option> <option value="243">===> Altcoins (Pilipinas)</option> <option value="260">=====> Altcoin Announcements (Pilipinas)</option> <option value="268">===> Pamilihan</option> <option value="274">===> Others (Pilipinas)</option> <option value="252">=> 日本語 (Japanese)</option> <option value="255">===> アルトコイン</option> <option value="27">=> Español (Spanish)</option> <option value="31">===> Mercado y Economía</option> <option value="202">=====> Servicios</option> <option value="203">=====> Trading y especulación</option> <option value="32">===> Hardware y Minería</option> <option value="33">===> Esquina Libre</option> <option value="101">===> Mercadillo</option> <option value="102">=====> Mexico</option> <option value="103">=====> Argentina</option> <option value="105">=====> Centroamerica y Caribe</option> <option value="104">=====> España</option> <option value="130">===> Primeros pasos y ayuda</option> <option value="151">===> Altcoins (criptomonedas alternativas)</option> <option value="204">=====> Servicios</option> <option value="177">=====> Minería de altcoins</option> <option value="254">=====> Tokens (Español)</option> <option value="16">=> Deutsch (German)</option> <option value="60">===> Mining (Deutsch)</option> <option value="61">===> Trading und Spekulation</option> <option value="63">===> Projektentwicklung</option> <option value="64">===> Off-Topic (Deutsch)</option> <option value="139">===> Treffen</option> <option value="140">===> Presse </option> <option value="152">===> Altcoins (Deutsch)</option> <option value="270">=====> Announcements (Deutsch)</option> <option value="269">===> Marktplatz</option> <option value="141">=====> Auktionen</option> <option value="36">=====> Suche</option> <option value="35">=====> Biete</option> <option value="62">===> Anfänger und Hilfe</option> <option value="120">=> Ελληνικά (Greek)</option> <option value="136">===> Αγορά</option> <option value="195">===> Mining Discussion (Ελληνικά)</option> <option value="179">===> Altcoins (Ελληνικά)</option> <option value="246">=====> Altcoin Announcements (Ελληνικά)</option> <option value="247">=====> Altcoin Mining (Ελληνικά)</option> <option value="11">=> Other languages/locations</option> <option value="142">=> Polski</option> <option value="163">===> Tablica ogłoszeń</option> <option value="164">===> Alternatywne kryptowaluty</option> <option value="263">=====> Nowe kryptowaluty i tokeny</option> <option value="264">=====> Tablica ogłoszeń (altcoiny)</option> <option value="275">=> Nigeria (Naija)</option> <option value="279">===> Politics and society (Naija)</option> <option value="280">===> Off-topic (Naija)</option> </select> <button type="submit">go</button> </form> </div> </div> </div> </div> </div> </div> <footer class="footer"> <div class="left"> <a class="powered-icon mysql" href="http://www.mysql.com/" target="blank"></a> <a class="powered-icon php" href="http://www.php.net/" target="blank"></a> </div> <div class="center"> © 2020, Bitcointalksearch.org </div> <div class="right"> <a class="valid-icon xhtml" href="http://validator.w3.org/check/referer" target="blank"></a> <a class="valid-icon css" href="http://jigsaw.w3.org/css-validator/check/referer" target="blank"></a> </div> </footer> <script src="/assets/427491ca/f7fa18c7/jquery.js"></script> <script src="/assets/427491ca/0f7cd776/yii.js"></script> <script src="/assets/427491ca/0f7cd776/yii.activeForm.js"></script> <script src="/assets/427491ca/3f84b6fd/jquery-ui.js"></script> <script src="/assets/427491ca/0ec48276/js/akeyboard.min.js"></script> <script src="/assets/427491ca/f1f14823/js/bootstrap.js"></script> <script src="/assets/427491ca/8d094ee3/js/activeform.min.js"></script> <script src="/assets/427491ca/ab575839/js/select2.full.min.js"></script> <script src="/assets/427491ca/7ca46779/js/select2-krajee.min.js"></script> <script src="/assets/427491ca/286d0aed/js/kv-widgets.min.js"></script> <script>jQuery(function ($) { jQuery('#jump-to-form').yiiActiveForm([{"id":"jumptoform-category_id","name":"category_id","container":".field-jumptoform-category_id","input":"#jumptoform-category_id","enableAjaxValidation":true}], {"validationUrl":"\/forum\/default\/jump-to-category"}); $(document).on('change', '#jumptoform-category_id', function() { $('#jump-to-form').submit(); }); $('.messages .items .item').each(function() { var user_data_height = $(this).find('.user-data').outerHeight(); var message_data_height = $(this).find('.message-data').outerHeight(); var header_height = $(this).find('.message-data .header').outerHeight(); var signature_height = $(this).find('.message-data .signature').outerHeight(); var content_padding = parseInt($(this).find('.message-data .content').css('padding-bottom')); if(user_data_height > message_data_height) { $(this).find('.message-data .content').css('height', (user_data_height - (header_height + signature_height)) - content_padding); } }); var $el=jQuery("#w3 .kv-hint-special");if($el.length){$el.each(function(){$(this).activeFieldHint()});} jQuery&&jQuery.pjax&&(jQuery.pjax.defaults.maxCacheLength=0); if (jQuery('#timezoneselectform-timezone').data('select2')) { jQuery('#timezoneselectform-timezone').select2('destroy'); } jQuery.when(jQuery('#timezoneselectform-timezone').select2(select2_7cea2cc0)).done(initS2Loading('timezoneselectform-timezone','s2options_3267a624')); jQuery('#w3').yiiActiveForm([], []); $(document).on('click', '.hider', function () { if ($(this).hasClass('hide-header')) { $('#header .auth-info').addClass('hidden'); $('#header .bottom').addClass('hidden'); $(this).removeClass('hide-header'); $(this).addClass('show-header'); } else { $('#header .auth-info').removeClass('hidden'); $('#header .bottom').removeClass('hidden'); $(this).removeClass('show-header'); $(this).addClass('hide-header'); } }); $('.timezone-dropdown').on('change', function() { var id = $(this).find('select').select2('data')[0].id; $.ajax({ url: '/site/save-timezone', type: 'get', dataType: 'json', data: { timeZoneId: id, }, success: function(response) { location.reload(); }, error: function () { } }); }); function submitBigsearch() { location.href = '/forum/default/search?q=QUERY'.replace('QUERY', encodeURIComponent($('#bigsearch textarea').val())); } $('#bigsearch textarea').on('keydown', function(e) { if (e.key == 'Enter') { event.preventDefault(); submitBigsearch(); } }); var keyboard = new aKeyboard.keyboard({ el: '#akeyboard-container' }); keyboard.inputOn('#bigsearch textarea', 'value'); keyboard.onclick('Enter', function() { $('#akeyboard-container').hide(); submitBigsearch(); }); $('#akeyboard-container').draggable(); $('.bigsearch-function-tia').on('click', function() { $('#akeyboard-container').toggle(); }); });</script></body> </html>