Jump to content

Welcome to Rune Tips, the first ever RuneScape help site. We aim to offer skill guides, quest guides, maps, calculators, informative databases, tips, and much more to help you get the most from the Massive Online Adventure Game, RuneScape, by Jagex Ltd © 2009.

Report Ad

Welcome to Forum.Tip.It
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

- - - - -

Quests - (Grease) Monkeying with the Open Beta Site

Posted by GrandZephyr, 19 December 2011 · 793 views

I thought I would write about how I'm writing greasemonkey codes to customize the Tip.it site for myself.

To start, I wanted the quests page to hide the completed/done quests as soon as you clicked "done", so I've written a greasemonkey javascript to do it.
Posted Image

The open.tip.it site requires you to click a "Save Done" button to hide/store the quests you've completed once you've clicked them.
I was thinking there was probably a way to do it without leaving the page.

So, I went ahead and worked on writing the code to make the quests work so when someone clicks the "Done" for any given quest it will hide it.
Also, clicking the checkbox will update the cookie that holds the quest id's for complete quests, and unchecking a box will remove the questid from the completed quests cookie, so the page will know to hide those completed quests the next time you visit.

This script was written using greasemonkey for Firefox 8.0 and relies on jQuery, a Javascript library.

If anyone ventures to use it and has any advice, please let me know. =)

February 2020

171819 20 212223