| View previous topic :: View next topic |
| Author |
Message |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Thu Mar 08, 2007 12:26 am Post subject: Greasemonkey Plugin for Firefox and Opera! |
|
|
I've written a little plugin for Firefox with Greasemonkey - and since I'm an opera user I also made it working for Opera (there you don't need any special addon).
It simply add an button under every espionage report where you can send them to SpeedSim Online. It should work with all languages which are in SpeedSim Online available, too (aslong as you're logged in or your language is being detected automatically)
I hope you like it. Suggestions/Impovements are welcome!
Download: http://websim.speedsim.net/js/websim.user.js
Example Screenshot:
 _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life!
Last edited by TheButcher on Fri Mar 16, 2007 12:28 am; edited 2 times in total |
|
| Back to top |
|
 |
DanixII
Joined: 07 Mar 2007 Last Visit: 02 Apr 2007 Posts: 12
|
Posted: Thu Mar 08, 2007 3:49 am Post subject: |
|
|
The script works great!
I prefer the offline version, but is a great idea and work!
And, for the skin maker (of ogame), i bring the code to put in they FORMATE.CSS for put format on the button os "speedsim Online":
| Quote: | /* BOTON SPEEDSIM SCRIPT */
/* ---http://websim.speedsim.net/js/websim.user.js--- */
div[align="center"] input
{
border : 1px #444444 solid !important;
font-family : tahoma,Arial,sans-serif !important;
font-size : 10px !important;
color : #AAAADD !important;
background-color : #000000 !important;
text-transform : uppercase !important;
font-weight: bold !important;
text-decoration: none !important;
padding-left: 3px !important;
padding-right: 3px !important;
margin-top: 10px !important;
}
div[align="center"] input:hover
{
border : 1px #7777AA solid !important;
font-family : tahoma,Arial,sans-serif !important;
font-size : 10px !important;
color : #FFFF00 !important;
background-color : #000000 !important;
text-transform : uppercase !important;
font-weight: bold !important;
} |
And them, the button looks that this:
This in my skin, evident, but modify the code, you format the buton as you like.
This is the link for my ogame skin (one of much xD), so:
http://danix2007.iespana.es/ColdWars%20(cc)/
BYYEEEE |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 3:44 pm Post subject: |
|
|
| Hello. i installed greasemonkey, and i imported that script into it. the problem is: it doesn't work. what should i do? i already restarted firefox, i already reinstalled greasemonkey, disabled and enabled the script again, and nothing! am i missing something? |
|
| Back to top |
|
 |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Wed Mar 14, 2007 3:48 pm Post subject: |
|
|
Maybe the server address is not being detected..
In which universe/country are you playing? _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life! |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 4:09 pm Post subject: |
|
|
Ogame.com.pt
universe 19 |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 4:27 pm Post subject: |
|
|
OH, and universe 7 mainly. i can't get it to work. and i want it so much damn
I't from Portugal |
|
| Back to top |
|
 |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Wed Mar 14, 2007 6:02 pm Post subject: |
|
|
Ok, try the script now.. It should work now also for you _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life! |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 7:03 pm Post subject: |
|
|
1 - Uninstalled the script
2 - Downloaded again
3 - Installed
4 - Reboot firefox
5 - Loging in universe 7
6 - Probing someone
It still not working man . no buttons on the report |
|
| Back to top |
|
 |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Wed Mar 14, 2007 7:32 pm Post subject: |
|
|
Ok, last chance.. Try it now again  _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life! |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 7:41 pm Post subject: |
|
|
omg , still not working  so, is there any problem with my browser at all??? |
|
| Back to top |
|
 |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Wed Mar 14, 2007 8:50 pm Post subject: |
|
|
What Firefox version are you using? Are there any JavaScript-Errors in the error-console (available in the "extras"-menu)? _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life! |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Wed Mar 14, 2007 9:08 pm Post subject: |
|
|
I'm using Firefox 2.0.0.1. I have a friend using it also, and he can't get it to work too. here's a scren of the error console
Humm, i don't see nothing regarding to the script, i don't know |
|
| Back to top |
|
 |
TheButcher Developer
Joined: 25 Dec 2004 Last Visit: 26 Jul 2010 Posts: 1162 Location: Germany
|
Posted: Thu Mar 15, 2007 12:29 am Post subject: |
|
|
I led it test by someone from ogame.com.pt (thx to unforgiven) and it seems to work there, too..
Are you sure that this button does not exist - maybe you just overlooked it? _________________ Programming is like sex, if you make a mistake you'll have to support it your whole life! |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Thu Mar 15, 2007 12:59 am Post subject: |
|
|
Humm, ok. Here's what i'm going to do:
i'm going to completely unninstall firefox, including the folders on application data, and all traces. and then, install again and only with the monkey addon. Let's see what happens. thanks for your time |
|
| Back to top |
|
 |
Thorin Guest
|
Posted: Thu Mar 15, 2007 1:16 am Post subject: |
|
|
Ok, worked. I must had some addon or something, making a conflict. i don't know. Anyway, thanks a lot buddy keep up the good work |
|
| Back to top |
|
 |
|