Jump to content

Grease Monkey Script to customise GC.com menu


Followers 7

Recommended Posts

I've written this Grease Monkey script to modify the new geocaching.com menu.

 

I wrote it a few days ago and a few bods on Facebook have tried it successfully but I've now simplified it (actually it's a lot more complicated but it looks simpler ;) ) so users can easily tweak it to their own requirements using just two functions:

changeLink() and addSubMenuItem()

(Full instructions in the file)

 

As it stands there are a few new links and a few modified existing ones which hopefully most people will find useful.

 

http://www6.brinkster.com/coolsite/greasemonkey/customise_menu.user.js

 

Thanks

 

Mark

Link to comment

I've written this Grease Monkey script to modify the new geocaching.com menu.

 

I wrote it a few days ago and a few bods on Facebook have tried it successfully but I've now simplified it (actually it's a lot more complicated but it looks simpler ;) ) so users can easily tweak it to their own requirements using just two functions:

changeLink() and addSubMenuItem()

(Full instructions in the file)

 

As it stands there are a few new links and a few modified existing ones which hopefully most people will find useful.

 

http://www6.brinkster.com/coolsite/greasemonkey/customise_menu.user.js

 

Thanks

 

Mark

 

Mark, thanks so much for this, and for sharing the instructions on how to modify it. I will definitely be using this.

Link to comment

eb7589b2-42fb-484b-a9d7-1b5c9cbade12.jpg

 

Excellent work, so much better with the above menu.

 

Should any one want it the code is below, I think you will might need to change the "Your Trackables" link to the one in your own profile though.

 

changeLink("Your Profile","http://www.geocaching.com/my/","Your Account")
addSubMenuItem("Your Profile","http://www.geocaching.com/profile/","Public Profile")
addSubMenuItem("Your Profile","http://www.geocaching.com/my/","Private Profile")
addSubMenuItem("Your Profile","#","----------")
addSubMenuItem("Your Profile","http://www.geocaching.com/my/owned.aspx","Your Caches")
addSubMenuItem("Your Profile","http://www.geocaching.com/track/search.aspx?o=1&uid=5c471c2e-d8f5-43c3-8ba4-5a4322ea8ce1","Your Trackables")
addSubMenuItem("Your Profile","http://www.geocaching.com/my/myfriends.aspx","Your Friends")
addSubMenuItem("Your Profile","#","----------")
addSubMenuItem("Your Profile","http://www.geocaching.com/account/default.aspx","Account Details")

Link to comment

Sounds good to me but it does not work for me. Using Firefox 4.0.1 and XP. Installed as per the box. Greasemonkey is enabled and customise menu is shown as ticked in the tools menu. Is there something else I have to do?

 

Hmm....

 

If you open the 'Error Console' (on the 'Tools' menu) are you getting any errors?

 

Mark

Link to comment

Sounds good to me but it does not work for me. Using Firefox 4.0.1 and XP. Installed as per the box. Greasemonkey is enabled and customise menu is shown as ticked in the tools menu. Is there something else I have to do?

 

Hmm....

 

If you open the 'Error Console' (on the 'Tools' menu) are you getting any errors?

 

Mark

Link to comment

Hi Mark,

 

Yes loads of warnings such as:

 

Warning: Error in parsing value for 'margin-top'. Declaration dropped.

Source File: http://www.geocaching.com/css/tlnMain.css

Line: 346

 

and

 

Warning: Unknown property '-moz-outline'. Declaration dropped.

Source File: http://forums.Groundspeak.com/GC/index.php?app=forums&module=post&section=post&do=reply_post&f=35&t=274005&qpid=4709455

Line: 2293

 

Before refeshing the page I cleared the error log and unticked all the other (Lil Devil) scripts leaving only yours.

 

Its getting late now & I wont be able to be on line until tomorrow evening. Would it be better to take this off board and continue privately if you are willing.

 

Thanks

 

David

Link to comment

Its getting late now & I wont be able to be on line until tomorrow evening. Would it be better to take this off board and continue privately if you are willing.

 

Thanks

 

David

 

Yeah sure PM me.

I've just installed FireFox 4.0.1 on my XP laptop and it works fine though!

 

Mark

Link to comment

Its getting late now & I wont be able to be on line until tomorrow evening. Would it be better to take this off board and continue privately if you are willing.

 

Thanks

 

David

 

Yeah sure PM me.

I've just installed FireFox 4.0.1 on my XP laptop and it works fine though!

 

Mark

Link to comment

 

Thanks for your efforts. I was interested in having a look but get HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.

 

Help!!!!

 

I thought that might happen. ;)

 

I've added a rudimentary default page now so if you got to:

 

http://www6.brinkster.com/coolsite/greasemonkey/

 

you can then download the script you want.

 

 

Thanks

 

Mark

Link to comment

 

Thanks for your efforts. I was interested in having a look but get HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.

 

Help!!!!

 

I thought that might happen. ;)

 

I've added a rudimentary default page now so if you got to:

 

http://www6.brinkster.com/coolsite/greasemonkey/

 

you can then download the script you want.

 

 

Thanks

 

Mark

 

Spooky. I was just wondering yesterday if someone could write something that did this....

 

PQ Scroll

Scrolls the PQ list down to where you were when you tick/untick a pq

Link to comment

 

Spooky. I was just wondering yesterday if someone could write something that did this....

 

PQ Scroll

Scrolls the PQ list down to where you were when you tick/untick a pq

 

B)

 

Personally, I very rarely schedule PQs on that page but last week another cacher asked me if I could write something to do it :)

 

 

Mark

Link to comment

I've taken the liberty of ammending this script to work with the changes that have just been made, namely the fact that Groundspeak have just added a drop down to the Your Account option as standard.

 

Download / Install Here

(Much Credit still has to go Delta68 for writing the script in the first place)

 

Some of the options now need to be addessed slightly differently as there are a couple of duplicate items on the default menu's now, see the notes within the script for info.

 

I have left my personal custom menu's in the script but they are disabled my default, again see the notes within the script if you want to enable them.

 

Cheers

Dave

Edited by Raver Dave
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Followers 7
×
×
  • Create New...