Recent posts by Jordon Kalilich

Subscribe to Recent posts by Jordon Kalilich 42 posts found

Sep 19, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / Writing Scripts, online tutorials.

Check out http://www.diveintogreasemonkey.org/toc/

 
Sep 3, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Disableing Ms-Plinks! - MySpace

This script works for me.

http://userscripts.org/scripts/show/12663

 
Aug 26, 2008
Jordon Kalilich 42 posts

Topic: Script development / countdown

There's some confusion here about the definition of "open source." That's why I don't like the term.

Greasemonkey scripts are written in JavaScript, which means you can see the source code. The author might or might not allow you to modify or redistribute it. (By default, all of the author's rights are reserved.) According to the Open Source Definition, "open source" is supposed to mean that you can modify and redistribute the source code.

That's why I use the term "free software", which refers to the freedoms to modify and redistribute. While only one sense of the word "free" captures this meaning, no sense of the phrase "open source" encompasses the Open Source Initiative's intended meaning.

 
Aug 23, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / Spam vs. Topics 616:85

Or maybe a lot of people like porn?

 
Aug 17, 2008
Jordon Kalilich 42 posts

Topic: Script development / Getting headers of a script?

As for your first question, there was just a method presented on the greasemonkey-users mailing list recently. I haven't tried it, but there it is.

 
Aug 8, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / Proposal: all scripts by a user must have unique names

I agree with JoeSimmons. Both of those are good ideas.

 
Aug 5, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / More script metadata exposed

@license wouldn't be a bad idea, either. An example from one of my scripts:

// @copyright      Copyright 2007, 2008 Jordon Kalilich (http://www.theworldofstuff.com/)
// @license        GNU GPL version 3 or later; http://www.gnu.org/copyleft/gpl.html

 
Jul 7, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / Alphabetize List of Scripts in Manage User Scripts

As far as I'm aware, there's no way to do that.

This forum is for discussion about the userscripts.org site. Please use The Banana Bar or the greasemonkey-dev mailing list for discussions about Greasemonkey itself.

 
Jun 28, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Replacing an image

The source (src) of the frame might be expressed in the HTML with a relative path (vendetta/img/header_bg.jpg), but the actual "src" property, as determined by the web page, is always a full URL. So it's either a full path to a web page on a server (e.g. http://www.example.com/vendetta/img/header_bg.jpg) or an absolute path on your own computer (e.g. file:///C:/vendetta/img/header_bg.jpg).

 
Jun 28, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / How to use javascript

Have you installed Firefox and Greasemonkey? If you have, then go back to http://userscripts.org/scripts/show/22272 and click "Install this script." Go to whatever page it's supposed to run on, and it should work. If not, leave a comment for the author.

 
Jun 27, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / How to use javascript

No one can help you right now because you're not being clear. All I can tell right now is that you have some JavaScript code, and you want to know how to use it. What is it supposed to do? Is it a Greasemonkey user script? Better yet, if you can show us the script and how you're trying to use it, it would be much easier for you to get help than if you said "I would really like to know how to use a javascript" or "gives a white page".

 
Jun 24, 2008
Jordon Kalilich 42 posts

Topic: Script development / Getting cookies

I'm having a problem with my script MySpace Birthdays on Homepage. While you're on your user homepage, there's a GM_xmlhttpRequest that grabs the listing of your friends who have upcoming birthdays, and the script places that information on the homepage. I've found that the xhr now returns a login form unless the MYUSERINFO cookie is part of the request.

The browser sends the MYUSERINFO cookie whenever it requests a MySpace page, but I can't access it via document.cookie. (If I could, this would be a trivial problem to solve; I could just grab MYUSERINFO out of document.cookie without having to store it anywhere.) The only other way I can think of getting the cookie is to try to catch it while it's being set (at login), but I can't seem to do that either.

I do realize that this might be impossible because it's a security risk, but getting the user's MYUSERINFO cookie and allowing the script to work automatically would be much more convenient than having people enter their cookie information manually.

 
Jun 19, 2008
Jordon Kalilich 42 posts

Topic: Userscripts.org discussion / Search is unfunctional

It's not just the script metadata that is searched but also the scripts themselves. So if somebody writes a matching word in a comment in their script, that script will come up as a match.

 
Jun 17, 2008
Jordon Kalilich 42 posts

Topic: Script development / If Includes

indexOf can be used for this.

if (mystring.indexOf("is") > -1) {
// includes "is"
}

That will match the letters "is" in any word. You could put spaces in there too (mystring.indexOf(" is ")), but if you need more powerful matching, consider using regular expressions.

if (/\bis\b/i.test(myString) == true) {
// includes the word "is", any capitalization, bounded by spaces or other word-separating characters
}

 
Jun 16, 2008
Jordon Kalilich 42 posts

Topic: Script development / google video link cleaner

Thanks, I've updated the description. I was wondering why more people weren't installing it...

 
Jun 14, 2008
Jordon Kalilich 42 posts

Topic: Script development / google video link cleaner

This problem bothered me too. I couldn't find a way to rewrite the links because they seem indistinguishable from regular Google Video URLs, so I wrote a script to break out of the frame and redirect to the original video page:

http://userscripts.org/scripts/show/25469

 
Jun 6, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Change http to https

Here's a general solution: http://userscripts.org/scripts/show/10205

 
May 29, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Override All Fonts

Firefox allows you to do this. Go to Options/Preferences -> Content -> Fonts & Colors and click Advanced. Then uncheck "Allow pages to choose their own fonts."

 
May 15, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Facebook Stalker Monitoring

Unless you could get that information from the page, no.

 
May 8, 2008
Jordon Kalilich 42 posts

Topic: Script development / New; Need help please :)

Actually, now I remember that that script was only for people who have their photos set to be private. But I also use MySpace Add Image Links 2, which can do what you're asking for: http://userscripts.org/scripts/show/5767

 
May 8, 2008
Jordon Kalilich 42 posts

Topic: Script development / New; Need help please :)

As far as I know, there used to be a script that could do this, but it stopped working. It seems that MySpace fixed whatever was allowing it to happen.

 
Apr 27, 2008
Jordon Kalilich 42 posts

Topic: Script development / Newbie Needs Help

Hi, hoggercore. I'm the author of MySpace Ignore Bulletins, which I assume is the script you're talking about.

I assume you're running the Firefox browser with the Greasemonkey extension installed. If not, install Firefox and then install Greasemonkey.

To use the script, go here and click on the Install link on the right. On the left are instructions on how to use the script once it's installed.

 
Apr 6, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Facebook

With that script, you will still have to go to each image gallery page, but you can have DownThemAll! download all the linked images with one click, so it's pretty convenient.

 
Apr 6, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Facebook

Here it is: http://userscripts.org/scripts/show/24843

 
Apr 6, 2008
Jordon Kalilich 42 posts

Topic: Ideas and script requests / Facebook

I'm working on one too.