Timeline for Code Golf UserScript to help in navigating the site [v0.37 now available]
Current License: CC BY-SA 2.5
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:39 | history | edited | CommunityBot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
Feb 14, 2011 at 8:14 | comment | added | YOU | I got 0.28 working now @George. Thanks | |
Feb 14, 2011 at 8:09 | comment | added | Nathan Osman |
@SMark: You can try it out by triggering an update check. Simply delete the codegolf_lastcheck cookie and visit the home page.
|
|
Feb 14, 2011 at 8:09 | comment | added | YOU | Thanks @George, that would be nice too. | |
Feb 14, 2011 at 8:07 | comment | added | Nathan Osman | @SMark: There. The update code on my server will supply unique URLs from now on. Hopefully this will not happen again. | |
Feb 14, 2011 at 7:35 | comment | added | Nathan Osman | @SMark: Hmmm... I never thought of that. That's a good idea. I'll see about implementing that. | |
Feb 14, 2011 at 7:33 | comment | added | YOU |
@George, now looks good now. thank you. when your script try to autoupdate, could you add url with version numbers like ....user.js?0.27 or something else like random numbers? autoupdate script looks failed because of the cache.
|
|
Feb 14, 2011 at 7:24 | comment | added | YOU |
@George, Sorry You might be right, I am having issue with my cache. I could see Joey with your code in my chrome console
|
|
Feb 14, 2011 at 7:20 | comment | added | Nathan Osman |
@SMark: Can you open the Chrome console when you're on that page and type: $('#answer-443 .user-details:last a:last').text().replace(/^\d+ revs/,'')
|
|
Feb 14, 2011 at 7:18 | comment | added | Nathan Osman |
@SMark: Well to be honest, I'm using .replace(/^\d+ revs/,'') because .text() strips the HTML out.
|
|
Feb 14, 2011 at 7:18 | comment | added | YOU | same on firefox 3.6.12 win32 greasemonkey 0.9.0 too. | |
Feb 14, 2011 at 7:13 | comment | added | YOU |
@George, really, I am seeing 21 revsJoey's [Unknown] in chrome win32, I just uninstalled and reinstalled it, still same, I guess .text() stripped <br> tag / or converted to \n
|
|
Feb 14, 2011 at 7:12 | comment | added | Nathan Osman | @SMark: The one you're linking to is working fine with the latest release... are you using 0.27? | |
Feb 14, 2011 at 7:11 | comment | added | YOU |
or you may try .replace(/[^\n]+\n/,'') instead of <br> with .text()?
|
|
Feb 14, 2011 at 7:08 | comment | added | YOU |
@George, Thanks. this one works, but other one still having issue for .replace(/[^<]+<br>/,'') may be you need to use .html instead of .text to strip first part of <br> ?
|
|
Feb 14, 2011 at 7:00 | comment | added | Nathan Osman | There. I just released a fix for that - thanks! | |
Feb 13, 2011 at 8:09 | comment | added | Nathan Osman |
Ah. Thank you for finding that. I forget that .text() combines the text from all matched elements. I'll get that fixed soon.
|
|
S Feb 13, 2011 at 7:24 | history | answered | YOU | CC BY-SA 2.5 | |
S Feb 13, 2011 at 7:24 | history | made wiki | Post Made Community Wiki |