Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

877485 Posts in 32868 Topics- by 24305 Members - Latest Member: orloff

May 19, 2013, 03:55:35 PM
TIGSource ForumsDeveloperFeedbackGreasemonkey on TIGS
Pages: [1] 2 3 4
Print
Author Topic: Greasemonkey on TIGS  (Read 5074 times)
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« on: June 17, 2009, 09:41:14 AM »

Greasemonkey, as you may know, is a great Firefox plugin. It allows you to customize the way a webpage displays using small bits of JavaScript.

I tried using it for the first time yesterday. I have so far produced two scripts designed especially for TIGForums. I'm also interested if anyone else has some interesting scripts that improve their stay here?

Script 1: Capitalizing on Paul Eres.
Based on a discussion with Paul here:
http://forums.tigsource.com/index.php?topic=5716.msg214463#msg214463
Paul likes to write without capitalizing anything. I have a hard time understanding anything he says, because of this. To fix this, I have written a Greasemonkey script that capitalizes all posts by him. It manages to capitalize the first letter of sentences and the word "I" (in most cases). It's written in a pretty naive way. But based on what Paul usually writes, the script should be able to handle most things.

Script 2: Ban Super Joe!
For anyone who wants to ban Super Joe, just run this script! It cleanses every thread on TIGForums from Super Joe's presence.
I don't actually use this. Anyone who would is a complete tool =)

Enjoy!

Edit: I removed the link to the Ban Joe-script. I have been told that people actually could start using it(!)

Script 3: Ignore updated threads 2.0
Made on request from moi. It removes threads from the "Recent Unread Topics" and "Updated Topics" lists. Currently it removes the threads "Example thread title 1" and "Example 2". To remove the threads of your choice you have to edit the script and add any threads you want to:
Quote
var threadsToIgnore = ["Example thread title 1", "Example 2"];
Version 2.0 also allows you to use regular expressions using this line:
Quote
var threadsToIgnoreRegexes = [/^thread titles that begin with something/, /end with something$/, /or contain something/];
You can edit the lists by opening "Manage User Scripts" in Greasemonkey, selecting the script and clicking "Edit" at the bottom left.
« Last Edit: June 19, 2009, 03:01:37 PM by Dacke » Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
Eric McQuiggan
Level 10
*****


Divide by everything is fine and nothing is wrong.

team_q@hotmail.com
View Profile WWW Email
« Reply #1 on: June 17, 2009, 09:55:35 AM »

Hilarious!
Logged

Super Joe
BANNED
Level 9
*

let's go


View Profile
« Reply #2 on: June 17, 2009, 10:08:05 AM »

your gay
Logged
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #3 on: June 17, 2009, 10:09:35 AM »

your gay
I can't hear you.
Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
JLJac
Level 10
*****



View Profile
« Reply #4 on: June 17, 2009, 10:16:29 AM »

Oh yeah! You should totally write a script that makes Smithy keeping it short and one that makes Renton polite too. And one that puts all of Fish's sentences on the same line. And... Yeah.

 Kiss

You should get him out of the quotes too!
Logged
Corpus
Guest
« Reply #5 on: June 17, 2009, 10:45:35 AM »

you find it difficult to understand him when he doesn't use capital letters?

what the fuck?
Logged
moi
Level 10
*****


shitposting is the new black


View Profile WWW
« Reply #6 on: June 17, 2009, 10:50:53 AM »

Can you make a script to prevent some particular threads from appearing in the "new posts list"? If so, I'm sold.
Logged

lelebζcόlo
Corpus
Guest
« Reply #7 on: June 17, 2009, 10:56:06 AM »

Oh yeah! You should totally write a script that makes Smithy keeping it short and one that makes Renton polite too. And one that puts all of Fish's sentences on the same line. And... Yeah.

 Kiss

you're not even joking, and you're a bad person.
Logged
Renton
Guest
« Reply #8 on: June 17, 2009, 10:59:39 AM »

Oh yeah! You should totally write a script that makes Smithy keeping it short and one that makes Renton polite too.
Fuck you.
Logged
Bennett
Jinky Jonky and the Spell of the Advergamez 3
Level 10
*



View Profile
« Reply #9 on: June 17, 2009, 11:18:48 AM »

Paul likes to write without capitalizing anything. I have a hard time understanding anything he says, because of this.

Does it work? I mean, can you understand everything he says now?
Logged
Dacke
Level 10
*****


I have never been to Woodstock


View Profile
« Reply #10 on: June 17, 2009, 11:42:47 AM »

It obviously wasn't obvious that the Joe-script was a joke, so I removed it so that no one accidentally starts using it. I really didn't intend for this to lead to all this hate. Embarrassed

you find it difficult to understand him when he doesn't use capital letters?

what the fuck?
Does it work? I mean, can you understand everything he says now?

It actually does! Well.. sort of. The readability is up from like 40% to 90%. He seems to be making a lot of sense at times.. but I can't say I understand everything he says.
« Last Edit: June 17, 2009, 11:46:15 AM by Dacke » Logged

vegan • socialist • atheist • humanist • liberal • FOSSer
programmer • feminist • animal rights activist • pacifist • teetotaller
Corpus
Guest
« Reply #11 on: June 17, 2009, 02:18:00 PM »

Sorry for overreacting! I thought you were being malicious, but if it was just a joke, it's not so bad Smiley
Logged
Paul Eres
Level 10
*****


Also known as RinkuHero.

RinkuHero
View Profile WWW Email
« Reply #12 on: June 17, 2009, 05:54:40 PM »

It actually does! Well.. sort of. The readability is up from like 40% to 90%. He seems to be making a lot of sense at times.. but I can't say I understand everything he says.

there's a theory ken wilbur has (ha, bet the script missed that! or did it?) of multiple consciousness levels, and that you can only understand the consciousness levels of those below your own. they are even color coded.

http://en.wikipedia.org/wiki/Spiral_Dynamics

because i write in turquoise-consciousness a lot of the time those in lower levels may not get it all. i'd place you at yellow, which is still fairly high. most of tigs is at green. super joe is above us all, at azure (one of the unmentionable colors), which is why very few people can understand him.
Logged

Halcyon
Level 2
**



View Profile
« Reply #13 on: June 17, 2009, 06:04:25 PM »

Haha, the Paul Eres script is working fine - besides capitalization of names.  :D Tongue
Logged
AaronAardvark
Level 1
*


Formerly RazputinOleander


View Profile WWW
« Reply #14 on: June 17, 2009, 06:13:57 PM »

There's a theory Ken Wilbur has (Ha, bet the script missed that! Or did it?) of multiple consciousness levels, and that you can only understand the consciousness levels of those below your own. They are even color coded.

I tend to shy away from models of hierarchical systems.  In my personal experience, I find hierarchies (Things that can be described in terms of levels, with certain levels 'above' or 'below' others.) tend to be more ideologically pure - as opposed to systems that are fuzzy or spectral which are often more pragmatic.

That is, if you are having a hard time communicating with someone, then classifying them as being on a lower level of a hierarchical system is not likely to make communication easier.  On the other hand, if you place yourselves on a spectrum, neither of your methods of communications is 'higher' or 'lower' then the other - but rather emphasizing different strengths or weaknesses.

The distinction is completely subjective.  However, I've found that my friends and family (and myself) tend to equate "higher" with "better" or "superior."
Logged
Pages: [1] 2 3 4
Print
Jump to:  

Theme orange-lt created by panic