Pages:
Author

Topic: Enhanced merit UI [1.1] - page 2. (Read 3269 times)

legendary
Activity: 3696
Merit: 4343
The hacker spirit breaks any spell
July 29, 2019, 05:47:10 AM
#30
Awesome! i love this userscript, and now i love more

very good and usefull



thank you so much for your update
legendary
Activity: 1428
Merit: 1166
🤩Finally Married🤩
July 29, 2019, 12:33:45 AM
#29
-snip-
It worked, thanks for your effort.
The update looks better than what I suggested.
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)
@grue ----> Last Active:   August 01, 2018, 05:00:20 AM
*I made some adjustments to hide my Merits.

I guess will try it though...
I somewhat accidentally gave dogtana a Merit... What a mistake...

By the way @hugeblack does it really work with our Source Merits? Have you tried using it (spend it)
legendary
Activity: 2702
Merit: 4002
July 28, 2019, 01:19:35 AM
#28
-snip-
It worked, thanks for your effort.
The update looks better than what I suggested.
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)
@grue ----> Last Active:   August 01, 2018, 05:00:20 AM
*I made some adjustments to hide my Merits.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
July 27, 2019, 01:57:51 PM
#27
Sorry for Bumping this. & thanks for creating it.
I've made some edits to update the page after sending sMerits.
Is it possible to display full sMerit amount on the same screen?
sMerit and source Merits. Something like this



Edit: Not only @EcuaMobi update but total amount (Merit source + sMerit)

It's piece of cake, i've made slight modification for your need :

Code:
// ==UserScript==
// @name        bitcointalk merit
// @namespace   grue
// @include     https://bitcointalk.org/index.php?topic=*
// @require     https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js
// @version     1.1.1
// @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
// @grant none
// ==/UserScript==

(() => {
  var sMerit;
  var source_sMerit;

  //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];

  //Added by EcuaMobi: Get remaining sMerit
  $.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];
  }).catch(() => sMerit = null);

  //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];

    const $popup = $(['
',
      '  
',
      '    
',
      '      Merit points: ',
      '    
',
 // Modified by EcuaMobi
      '    
',
      '  
',
      '
'
    ].join("\n"));
    $popup.find("form").submit( (e) => {
      e.preventDefault();
      $popup.find('input[type="submit"]')
        .prop("disabled", true)
        .val("Sending...");
      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 /><span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>  // Added by EcuaMobi<br /><span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>  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 /><span style="white-space: pre;"> </span>  // Added by EcuaMobi<br /><span style="white-space: pre;"> </span>  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 /></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=669&c=l0cKtBjsKzX55Q" 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=669&c=xwkxoaIKUqKUjg" 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=669&c=TiyK57I-ABp1OQ" 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=668&c=TP759RP2Pw5Gaw" 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 class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/bobq-251756" title="Profile of bobq">bobq</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: 1148</div> <div class="merit">Merit: 307</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_251756.jpg" alt="" title="Profile photo of bobq"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/bobq-251756" title="Profile of bobq"><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="msg33113397"></a> <a href="/topic/m.33113397">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">March 25, 2018, 03:41:25 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.33113397">#19</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=668&c=TP759RP2Pw5Gaw" alt="Loading image..." border="0" /><br /><br /></div><br />Thanks for this upgrade, it was absolutely necessary. Not knowing how many sMerits you still have when you are about to give one was not an option, given their overall scarcity (most people have just a few sMerits). </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/holder99-1757615" title="Profile of holder99">holder99</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: 140</div> <div class="merit">Merit: 12</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/holder99-1757615" title="Profile of holder99"><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="msg31249117"></a> <a href="/topic/m.31249117">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 28, 2018, 05:18:35 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.31249117">#18</a> </div> </div> <div class="content"> Awesome, the landlord is really a technology expert, this must support, will not be so troublesome later. </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/alexsr-1762404" title="Profile of Alex_Sr">Alex_Sr</a> </div> <div class="position">hero 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=""> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 840</div> <div class="merit">Merit: 962</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_1762404.jpg" alt="" title="Profile photo of Alex_Sr"> </div> <div class="description">HOLD BITCOIN! Fiat - SCAM!</div> <div class="view-profile"> <a href="/user/alexsr-1762404" title="Profile of Alex_Sr"><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="msg31240171"></a> <a href="/topic/m.31240171">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 28, 2018, 02:52:52 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.31240171">#17</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.29048068">Quote from: grue on January 27, 2018, 11:55:40 AM</a></div><div class="quote">This is a very simple userscript that allows you to add merit without leaving the page. Click on the "+Merit" link to open/close the popup.<br /><br /><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FEfAEkBQ.png&t=668&c=vbZxf3D8NavWMw" alt="" border="0" /><br /><br />Download: <a class="ul" href="https://grue.blob.core.windows.net/scripts/Merit.user.js?sv=2014-02-14&si=1&sr=c&sig=k%2BqstGBI3oQ8TrHfPWjS5HgjrazuDPmKJ6rYNs7rvRk%3D&.user.js" rel="nofollow" target="_blank">Merit.user.js</a><br /><br />Installation:<br /><ul style="margin-top: 0; margin-bottom: 0; list-style-type: decimal;"><li>If you haven't already, install <a class="ul" href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" rel="nofollow" target="_blank">greasemonkey (firefox)</a>, or <a class="ul" href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo" rel="nofollow" target="_blank">tampermonkey (chrome)</a></li><li>Download the script</li></ul><br />Changelog:<br />1.0: release<br />1.1: fix csrf token not working when quick reply is disabled. <a class="ul" href="/topic/m.29051576">(thanks minifrij)</a><br /></div><br /><span style="font-size: 12pt !important; line-height: 1.3em;">Thank you, this is very nice script. When will more merit - I will definitely use it!</span><br /><br /><a class="ul" href="https://radikal.ru" rel="nofollow" target="_blank"><img class="userimg" src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fd.radikal.ru%2Fd37%2F1802%2F1e%2Fa7a444787636.jpg&t=668&c=IQZOSfQ1c36Pkw" alt="" border="0" /></a> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/usernamebitcoin-227004" title="Profile of UsernameBitcoin">UsernameBitcoin</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: 530</div> <div class="merit">Merit: 250</div> <div class="avatar"> </div> <div class="description">CryptoTalk.Org - Get Paid for every Post!</div> <div class="view-profile"> <a href="/user/usernamebitcoin-227004" title="Profile of UsernameBitcoin"><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="msg30937611"></a> <a href="/topic/m.30937611">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 23, 2018, 07:36:08 PM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30937611">#16</a> </div> </div> <div class="content"> Great addition! This was required especially in the light of the changes to the merit system. I just found about the merit system today and was looking for a way to give merits easily. <br /><br /><br />Is it possible to integrate this into the forum itself? Using some simple machines plugin maybe? </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/meraki-1004328" title="Profile of Meraki">Meraki</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: 448</div> <div class="merit">Merit: 110</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_1004328.png" alt="" title="Profile photo of Meraki"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/meraki-1004328" title="Profile of Meraki"><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="msg30926974"></a> <a href="/topic/m.30926974">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 23, 2018, 03:06:01 PM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30926974">#15</a> </div> </div> <div class="content"> Thankyou for this it worked smoothly, really useful for me bc i hate the fact that new tab is opening for clicking the merit! </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/ecuamobi-169515" title="Profile of EcuaMobi">EcuaMobi</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: 1876</div> <div class="merit">Merit: 1475</div> <div class="avatar"> <img src="https://bitcointalk.org/useravatars/avatar_169515.png" alt="" title="Profile photo of EcuaMobi"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/ecuamobi-169515" title="Profile of EcuaMobi"><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="msg30923337"></a> <a href="/topic/m.30923337">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 23, 2018, 01:58:58 PM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30923337">#14</a> </div> </div> <div class="content"> 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=668&c=TP759RP2Pw5Gaw" 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 /><br />Here's the modified source. grue, feel free to update your original code if you like the change:<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-em0.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 />  <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 />  }).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="0" 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) { $("#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 />    });<br />  });<br />   $(".grue-merit-popup").toggle(false);<br />   <br />})();</pre></div>I've clearly marked the modified code with either "Added by EcuaMobi" or "Modified by EcuaMobi". I also changed the version<br /><br />A small limitation is that it queries the available sMerit points once (when the thread is loaded). It does subtract them when points are sent. However, if sMerit points are received the change won't be reflected unless the page is reloaded. That would require re-querying every time which I considered an overkill.<br /><br />To install this version, you can just modify grue's script or install this from scratch:<br /><a class="ul" href="https://openuserjs.org/scripts/EcuaMobi/bitcointalk_merit" rel="nofollow" target="_blank">https://openuserjs.org/scripts/EcuaMobi/bitcointalk_merit</a><br /><br />(grue, I assumed this code is open-source. If that's not the case, let me know to unpublish this) </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/ungvantuyen-1292775" title="Profile of ungvantuyen">ungvantuyen</a> </div> <div class="position">newbie</div> <div class="position-coins"> <img src="/images/user_position/star.gif" alt=""> </div> <div class="activity">Activity: 49</div> <div class="merit">Merit: 0</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/ungvantuyen-1292775" title="Profile of ungvantuyen"><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="msg30181367"></a> <a href="/topic/m.30181367">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 13, 2018, 12:40:47 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30181367">#13</a> </div> </div> <div class="content"> Thanks Chris for the great works. How about drop-down list of meriters correspond to number of merits they sent. It will help to clear appearance of topics and threads that have abundant meriters. I don't remember the source of the idea, but I read about the idea somewhere in the ground. </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/fabianji-1605084" title="Profile of fabianji">fabianji</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: 70</div> <div class="merit">Merit: 12</div> <div class="avatar"> </div> <div class="description"></div> <div class="view-profile"> <a href="/user/fabianji-1605084" title="Profile of fabianji"><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="msg30180812"></a> <a href="/topic/m.30180812">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 13, 2018, 12:23:36 AM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30180812">#12</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.29048068">Quote from: grue on January 27, 2018, 11:55:40 AM</a></div><div class="quote">This is a very simple userscript that allows you to add merit without leaving the page. Click on the "+Merit" link to open/close the popup.<br /></div><br />Amazing - thank you!<br /><br /> </div> </div> </div> </div> <div class="item clearfix"> <div class="item-content"> <div class="user-data"> <div class="username"> <a href="/user/benonceagain-1109403" title="Profile of BenOnceAgain">BenOnceAgain</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: 208</div> <div class="merit">Merit: 84</div> <div class="avatar"> </div> <div class="description">🌐 www.btric.org 🌐</div> <div class="view-profile"> <a href="/user/benonceagain-1109403" title="Profile of BenOnceAgain"><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="msg30163767"></a> <a href="/topic/m.30163767">Re: Enhanced merit UI [1.1]</a> </div> <div class="date">February 12, 2018, 03:33:12 PM</div> </div> <div class="item-number text-right"> <a href="/topic/m.30163767">#11</a> </div> </div> <div class="content"> <div class="quote-header"><a href="/topic/m.29048068">Quote from: grue on January 27, 2018, 11:55:40 AM</a></div><div class="quote">This is a very simple userscript that allows you to add merit without leaving the page. Click on the "+Merit" link to open/close the popup.<br /></div><br />Hi grue, thank you very much for the great script!<br /><br />Best regards,<br />Ben </div> </div> </div> </div> </div> <div class="pagination-wrapper"> <span class="pages-text ">Pages:</span> <ul class="pagination"><li class="prev"><a href="/topic/enhanced-merit-ui-11-2833350" data-page="0">«</a></li> <li><a href="/topic/enhanced-merit-ui-11-2833350" data-page="0">1</a></li> <li class="active"><a href="/topic/enhanced-merit-ui-11-2833350/2-page.html" data-page="1">2</a></li> <li><a href="/topic/enhanced-merit-ui-11-2833350/3-page.html" data-page="2">3</a></li> <li class="next"><a href="/topic/enhanced-merit-ui-11-2833350/3-page.html" data-page="2">»</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="f38FFOrw6vrkScMYkfG05P7sEsj0ehQSXG1PpGpk03cOSmlmnIS_rIYKs3zrpMGhoa9W_64DXENuOj3cU0mbIw=="> <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>