forum.speedsim.net Forum Index forum.speedsim.net
The Support Forum for SpeedSim
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Greasemonkey Plugin for Firefox and Opera!
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forum.speedsim.net Forum Index -> Information (SpeedSim Online)
View previous topic :: View next topic  
Author Message
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 26 Jul 2010
Posts: 1162
Location: Germany

PostPosted: Thu Mar 08, 2007 12:26 am    Post subject: Greasemonkey Plugin for Firefox and Opera! Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DanixII



Joined: 07 Mar 2007
Last Visit: 02 Apr 2007
Posts: 12

PostPosted: Thu Mar 08, 2007 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Thorin
Guest






PostPosted: Wed Mar 14, 2007 3:44 pm    Post subject: Reply with quote

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

PostPosted: Wed Mar 14, 2007 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Thorin
Guest






PostPosted: Wed Mar 14, 2007 4:09 pm    Post subject: Reply with quote

Ogame.com.pt
universe 19
Back to top
Thorin
Guest






PostPosted: Wed Mar 14, 2007 4:27 pm    Post subject: Reply with quote

OH, and universe 7 mainly. i can't get it to work. and i want it so much Sad damn
I't from Portugal
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 26 Jul 2010
Posts: 1162
Location: Germany

PostPosted: Wed Mar 14, 2007 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Thorin
Guest






PostPosted: Wed Mar 14, 2007 7:03 pm    Post subject: Reply with quote

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 Sad . no buttons on the report
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 26 Jul 2010
Posts: 1162
Location: Germany

PostPosted: Wed Mar 14, 2007 7:32 pm    Post subject: Reply with quote

Ok, last chance.. Try it now again Smile
_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Thorin
Guest






PostPosted: Wed Mar 14, 2007 7:41 pm    Post subject: Reply with quote

omg , still not working SadSad 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

PostPosted: Wed Mar 14, 2007 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Thorin
Guest






PostPosted: Wed Mar 14, 2007 9:08 pm    Post subject: Reply with quote

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

PostPosted: Thu Mar 15, 2007 12:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Thorin
Guest






PostPosted: Thu Mar 15, 2007 12:59 am    Post subject: Reply with quote

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






PostPosted: Thu Mar 15, 2007 1:16 am    Post subject: Reply with quote

Ok, worked. I must had some addon or something, making a conflict. i don't know. Anyway, thanks a lot buddy Smile keep up the good work
Back to top
Display posts from previous:   
Post new topic   Reply to topic    forum.speedsim.net Forum Index -> Information (SpeedSim Online) All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group