Any Greasemonkey scripters in the house?

sometimesdee wrote:
FeralMonkey wrote:

Are you dragging and dropping the file into the Extensions tab, under Settings? Think Google changed the way you install user javascript a while back.

That is indeed what I did. I got it to work with Tampermonkey, though.

If you want to take Tampermonkey out of the mix, try using my modified version: https://gist.github.com/noahm/5272551

I updated it to hide both posts and quotes from the ignore list, and I addressed a couple of issues with basic Chrome userscripts.

psoplayer wrote:
sometimesdee wrote:
FeralMonkey wrote:

Are you dragging and dropping the file into the Extensions tab, under Settings? Think Google changed the way you install user javascript a while back.

That is indeed what I did. I got it to work with Tampermonkey, though.

If you want to take Tampermonkey out of the mix, try using my modified version: https://gist.github.com/noahm/5272551

I updated it to hide both posts and quotes from the ignore list, and I addressed a couple of issues with basic Chrome userscripts.

I'll probably use a few of your fixes. Sorry I didn't get to it today, busy day and upcoming night at work.

Also, since GWJ includes jQuery already in the page, and GM/Chrome scripts can access that jQuery, I'll probably have it not hit Google's CDN for every page request.

psoplayer wrote:
sometimesdee wrote:
FeralMonkey wrote:

Are you dragging and dropping the file into the Extensions tab, under Settings? Think Google changed the way you install user javascript a while back.

That is indeed what I did. I got it to work with Tampermonkey, though.

If you want to take Tampermonkey out of the mix, try using my modified version: https://gist.github.com/noahm/5272551

I updated it to hide both posts and quotes from the ignore list, and I addressed a couple of issues with basic Chrome userscripts.

Yeah, that didn't work. You're supposed to go to tools, then extensions, and then drag the file over to the window that says "install," right?

I did, however, get the 1.1.2 version to work with Tampermonkey. I had to copy-paste into a new script. I'm not sure why I can't get it to work in plain Chrome.

BTW, Tampermonkey's syntax check claims there are issues in line 13. It expects semicolons instead of commas. Or something.

Bonus_Eruptus wrote:

Also, since GWJ includes jQuery already in the page, and GM/Chrome scripts can access that jQuery, I'll probably have it not hit Google's CDN for every page request.

I already looked into that. Userscripts installed directly into chrome (without Tampermonkey) don't have a fully functional unsafeWindow object, so you don't actually have access the page's jQuery. However, I'm in the process of simply rewriting without using any jQuery at all just as an exercise in frustration.

Alright, done. https://gist.github.com/noahm/5272551

sometimesdee wrote:

Yeah, that didn't work. You're supposed to go to tools, then extensions, and then drag the file over to the window that says "install," right?

Yes. After a bit of research I found that it will only accept scripts with a filename ending in ".user.js" which is now automatically added when you save it off the github page.

tl;dr one complete re-write later, this time you're really good to go if you want to drop Tampermonkey and install it directly

Reposting from the bugs & feature requests thread:

Cathadan wrote:

Ok, new userscript for ignoring threads is done. It is designed to allow you to ignore individual threads rather than entire forums because I am an optimist that would like to believe there is some non-zero chance that a thread in P&C has value.

When you are on either the tracker page, or a thread listing for an individual forum there will be an extra link under your username in the top left to show the controls to ignore and unignore threads in the current view.

While I was at it, I upgraded the user ignore script with the same type of magic. After upgrading to the new version, posts will have an extra link next to "set as last read" to ignore or unignore the poster. You'll be starting with an empty ignore list again, so rebuilding it will require you to seek out posts by those users to put them on your list again.

Enjoy!