Pages:
Author

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

hero member
Activity: 1498
Merit: 596
February 12, 2018, 03:08:47 PM
#10
Great job Grue! A useful script for lazy guys.
I hope lazy guys will not hesitate anymore to merit someone's post now and then or will be able to show another excuse.

A responsible bump for the lazy mates, those who have waited long for this.  Wink
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
February 08, 2018, 12:20:13 AM
#9
Nice userscript!!

I won't be using it, as I like the info presented in a new window when I click the merit button.  Smiley
full member
Activity: 714
Merit: 160
February 08, 2018, 12:17:47 AM
#8
oh man you da real MVP

it really helpful a lot, especially for low speed internet connection users like me...  Smiley
i will try it when i got my sMerit back...
hero member
Activity: 536
Merit: 513
February 07, 2018, 10:30:12 AM
#7
Thank you, this is very nice UI.
Adding stats link would be interesting but imho it would be more useful if one could check his/her own (not others') sMerit balance when trying to send Merit.
Could you implement it like this image?
legendary
Activity: 1876
Merit: 1475
February 01, 2018, 03:24:31 PM
#6
Thanks for this!
I just found it and it's really useful. So here's a little bump for others to find it.

Also, could you add a small link to own Merit stats (https://bitcointalk.org/index.php?action=merit) ?
Sometimes I used to click "+Merit" just to go there.



Edit:
I just realized I posted the wrong link. I meant own Metir stats.
Something like https://bitcointalk.org/index.php?action=merit;msg=29410086 (with the corresponding msg)
full member
Activity: 574
Merit: 152
January 27, 2018, 07:55:13 PM
#5
Much better than my suggestion here; https://bitcointalksearch.org/topic/m.28914391

Good job. Didn't know you worked for Microsoft (that windows.net link >_>)
legendary
Activity: 2058
Merit: 1452
January 27, 2018, 02:19:09 PM
#4
Great script grue, thanks!

Just a little thing though, when I tried installing and using the script it would tell me 'Failed to give merit' whenever I tried to reward it. I found that this was a session error due to how you get 'sc'.
I've made a small fix here (on lines 12-14), which works for me currently:
Code:
  //get csrf token
  var sc = $('input[name="sc"][type="hidden"]').val();
  sc = (!sc ? ($('a[onclick]')[1].href).split('sesc=')[1] : sc);
thanks. turns out that if you don't have quick reply enabled, the input with the token isn't there. i updated the script to use the token from the logout link (which should always be there).
copper member
Activity: 1904
Merit: 1874
Goodbye, Z.
January 27, 2018, 01:47:38 PM
#3
Great script grue, thanks!

Just a little thing though, when I tried installing and using the script it would tell me 'Failed to give merit' whenever I tried to reward it. I found that this was a session error due to how you get 'sc'.
I've made a small fix here (on lines 12-14), which works for me currently:
Code:
  //get csrf token
  var sc = $('input[name="sc"][type="hidden"]').val();
  sc = (!sc ? ($('a[onclick]')[1].href).split('sesc=')[1] : sc);
Getting the same error, great you already spotted and fixed it Smiley
Also, very well done grue, the extra page to open when giving merit was one of the most criticized aspect of this change.
Thanks!
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
January 27, 2018, 12:52:17 PM
#2
Great script grue, thanks!

Just a little thing though, when I tried installing and using the script it would tell me 'Failed to give merit' whenever I tried to reward it. I found that this was a session error due to how you get 'sc'.
I've made a small fix here (on lines 12-14), which works for me currently:
Code:
  //get csrf token
  var sc = $('input[name="sc"][type="hidden"]').val();
  sc = (!sc ? ($('a[onclick]')[1].href).split('sesc=')[1] : sc);
legendary
Activity: 2058
Merit: 1452
January 27, 2018, 11:55:40 AM
#1
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.



Download: Merit.user.js

Installation:

Changelog:
1.0: release
1.1: fix csrf token not working when quick reply is disabled. (thanks minifrij)
1.2: rehost file on github
Pages:
Jump to: