Jump to content

GrandZephyr

Members
  • Posts

    187
  • Joined

  • Last visited

Blog Entries posted by GrandZephyr

  1. GrandZephyr
    Hey guys!
     
    I recently read a post, http://forum.tip.it/topic/311258-hide-stickies/, requesting a way to hide stickies.
     
    Since it seems we aren't going to get an official way to do this, I decided to write up a greasemonkey userscript for those people who are using FireFox or GoogleChrome.
     
    This userscript will add an [x] next to each sticky which will let you hide it.
     
    There is a counter above the stickies that tells you how many you have hidden on that page and gives you the option to display them.
    If you want to unhide a sticky you need to click "[click to show]" above the list of stickies and then choose the "[+]" option for each individual sticky you want to unhide.
     
    This userscript relies on the cookie named "hidden_stickies", so if you clean out your cookies often this script won't be much help.
    If for some reason the script doesn't appear to be working properly, please disable it and let me know the issues you ran into.
     
    If you use it, or have any questions, let me know. :)
     
     
     
  2. GrandZephyr
    I've noticed that there are a fair number of bugs with the Tip.it blog's teasers / summaries.
     
    In an attempt to correct some of those bugs for myself I wrote the following Greasemonkey userscript.
     
    If anyone decides to use this code, leave a comment to let me know how you think it works, or if there is anything else to add.
     
    Thanks.
     
     
     
  3. GrandZephyr
    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.

     
    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. =)
     
     
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.