Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Subject: Greasemonkey Scripts

2007-02-04 01:42:50
Hi guys,

Since we have many people interested in developping greasemonkey scripts, I think it would be important to have a specific topic for that.

Here, we could discuss about scripts and exchange information and make questions.
2007-02-04 01:52:17
I'm not a javascript developper but I'm trying to create sth.

Named Forum Organiser, the idea was to create forum stickers. It works fine for me but it's a little hard at the editing the links list (need open the js file). It's because I don't know if it's possible reading/savind local files with GM.

Pay attention: pre-BETA version, need many adjusts. Could someone help me with some ideas in order to create a more friendly interface?(
Script Here
(edited)
2007-02-04 01:55:39
wow man nice first post ahaha all owned

so if i click on sticker it just goes to random? forum?
(edited)
2007-02-04 02:11:00
You'll define the topics which will be in the stickers.
2007-02-04 02:11:24
how you define them?
2007-02-04 02:21:19
Go to Tools/Greasemonkey/ManagerUserScripts

Then you have to select "ForumOrganiser" and click on "Edit".

Choose the C:\Windows\Notepad to read the script and you can define the topic. You'll see this:

arrayForum[0]= new Array("0001", "000001", "Sticker 1");
arrayForum[1]= new Array("1292", "557752", "Sticker 2");
arrayForum[2]= new Array("1292", "557752", "Sticker 3");
arrayForum[3]= new Array("1292", "557752", "Sticker 4");
arrayForum[4]= new Array("1292", "557752", "Sticker 5");
arrayForum[5]= new Array("1292", "557752", "Sticker 6");
arrayForum[6]= new Array("1292", "557752", "Sticker 7");

These numbers are the ID_Forum, ID_Topic and the Sticker's Name.
(edited)
2007-02-04 02:29:39
when i click Edit nothing opens
2007-02-04 02:43:57
Well... Should open a window and you had to choose "notepad.exe". :/
2007-02-04 02:45:32
man i got some weak Firefox
2007-02-04 02:54:34
2007-02-04 02:56:07
nice let me send you one
2007-02-04 03:01:01
2007-02-04 03:04:12
Hmmm. That's the problem... When i click on this button, it's opening a window here.
2007-02-04 03:30:02
maybe that because u r Sheva and the one from UKR?
2007-02-04 08:30:38
Would have loved to have a skill translator in the player page. Dunno if it's possible or not.
2007-02-04 08:55:06
Sheva, I don't know about that. For me, when i used this button the first time, firefox asked about what program I'd like to use. Exactly as Leogar said.

Try to open the file manually. It's located in your Application Data folder. Look for Mozilla/Firefox/Profiles/something.default/gm_scripts and choose the forumorganiser.user.js file.
In this case, you'll need to put the new saved file on the firefox window in order to reinstall it.

Open it using notepad.

What happens when you click Tools/Greasemonkey/NewUserScript? You should have a prompt like this: Choose an Executable Text Editor (e.g. "c:\\windows\\notepad.exe")
(edited)