Recent posts by JoeSimmons

Subscribe to Recent posts by JoeSimmons 383 posts found

1 hour ago
JoeSimmons 719 posts

Topic: Script development / Conditional Search + RegExp

I use JavaScriptKit too.

 
1 hour ago
JoeSimmons 719 posts

Topic: Userscripts.org discussion / Problem viewing script source

Get 3.0.4?

 
Dec 1, 2008
JoeSimmons 719 posts

Topic: Script development / Absolute newbie needs to resize columns and fonts on a website

Try this
http://userstyles.org/styles/12552

You need to install Stylish then click "Load into Stylish", edit the 450px to a size of your own, click preview to try it out, then "Save".

It doesn't autofit, but you can change the 450px to a size of your liking.

 
Dec 1, 2008
JoeSimmons 719 posts

Topic: Script development / edited headline: simple document.body.innerHTML GreaseMonkey-script breaks Javascript or Ajax Functions?

@Jerone: You could use textContent for a specific node. But the code you have shown wasn't just replacing text, it was adding elements.

 
Nov 30, 2008
JoeSimmons 719 posts

Topic: Script development / Help with GM script editor

He already said that Jerone.

 
Nov 29, 2008
JoeSimmons 719 posts

Topic: Script development / Help with GM script editor

Oh sweet. Thanks w35l3y and spat72 for asking.

 
Nov 29, 2008
JoeSimmons 719 posts

Topic: Userscripts.org discussion / logo variation feedback

It's ok. I'd like a monkey for a logo.

 
Nov 29, 2008
JoeSimmons 719 posts

Topic: Script development / Help with GM script editor

I've also wondered how you change the text editor setting after you've already selected one.

 
Nov 27, 2008
JoeSimmons 719 posts

Topic: Script development / xpath select within node

Don't you agree it's better to teach someone the meaning of the number so they too can write shorter code?

 
Nov 27, 2008
JoeSimmons 719 posts

Topic: Script development / Creating if conditional from text on page

At least use document.body.textContent not innerHTML.
But a better way is to target the specific element and search its textContent.

 
Nov 27, 2008
JoeSimmons 719 posts

Topic: Ideas and script requests / Request: Automatic voting

The page doesn't even exist.

 
Nov 27, 2008
JoeSimmons 719 posts

Topic: Userscripts.org discussion / "The change you wanted was rejected"

Textarea Backup will help you greatly. It retains text entered into textareas even if you go off the page or close the browser.

 
Nov 27, 2008
JoeSimmons 719 posts

Topic: Userscripts.org discussion / Multiple Logins

Each browser has _uso_session and login_token cookies.
Even if you switch browsers/computers, and have cookies on both for userscripts.org, those 2 cookies will have different login hashes, so they can't always be logged in.

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Userscripts.org discussion / Multiple Logins

Yes it's cookies, believe it or not.

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Script development / edited headline: simple document.body.innerHTML GreaseMonkey-script breaks Javascript or Ajax Functions?

A good thing to keep in mind is to never replace words on a page using innerHTML. Use Xpath to search for text nodes on the page (like Linkify ting) then change the textContent of the text node.

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Script development / if (InStr(stamStat," 0")>-1)

if(!!~stamStat.indexOf(" 0"))

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Script development / xpath select within node

Aquilax is correct. The xpath expression needs to be prefixed with a dot.

@znerp: People will learn to know what the numbers mean. Maybe you should make a guide.

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Ideas and script requests / textarea-extraneous empty space

Learn regular expressions.

 
Nov 26, 2008
JoeSimmons 719 posts

Topic: Userscripts.org discussion / Multiple Logins

Because of cookies. Different profiles and browsers have separate cookies.
And 2 different cookies can't be in use at the same time.

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: The Banana Bar / The Matrix Runs on Windows

Hahaha.

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: The Banana Bar / PLEASE JUST ENTER ...

Yeah that's what it is.

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: Script development / backslash in a string

\u005C works fine for me and it's shorter code.

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: Script development / addEventListener

I just mean on my homepage http://www.google.com/webhp?complete=1&hl=en

Oh and I forgot to say I wanted to attach a "load" listener.
I tried this code but it only works with the 3rd argument as true and alerts several times.

document.addEventListener('load', function(){alert("foo")}, true);

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: Ideas and script requests / Auto-search webpage for text, w/ refresh

I was actually in the process of making a script with this exact idea a while ago when my hard drive went screwy and I had to format my windows (and forgot to back up my scripts. I now keep a backup on my site everytime I change a script)

 
Nov 25, 2008
JoeSimmons 719 posts

Topic: Ideas and script requests / popupblocker for zedo.com

Oh the site erased the javascript body of my script. Install it again and try it.
As for the editor, I use and highly recommend Notepad2.