uberFAP
Developed for both Chrome and Firefox... and works in Opera!
Meet uberFAP (cool name, bro). This is a plugin that allows you to favorite specific authors, and have a customized map list with only those authors' maps. It doesn't interfere with NUMA at all (except maybe replace the 'active authors' link), and only provides additional features. Based on the original Favorite Authors Plugin, this was a complete redevelopment project whose main reason was to write it in a way that would allow me to implement new features more easily. I use an ever-so-slightly modified jQuery 1.4.2 library to make DOM integration a cinch. As far as features go, it keeps most of them and has a few more:
Retained Features:
- A favorite toggle next to relevant author links
- Highlighting of maps by authors you've favorited
- A search term "!favorites" that lists maps by your favorite authors
- An updates notification that lets you know when your favorite authors submit new maps (improved!)
- A list of your favorite authors in your profile for easy access
New Features:
- A really cute heart icon for the toggle :3
- An entirely new server-integration feature
- Upload your favorites to the server to share with others
- View other users' favorite author map lists by searching "!favorites:username". If they don't have any results, tell them about this plugin and ask them to share!
- Restore your favorite authors from the server. Useful if you're on a different computer or accidentally cleared your browser cache
- A settings page to customize a few internal settings like update frequency
- The ability to automatically sync your list the server whenever you make changes, as you can forget to press 'sync' each time
- Clear your list, both locally and on the server. Sometimes you don't want people to know, and that's okay!
Installation:
Uninstall the original favorite authors plugin if you have it.
Firefox:
- Obtain Greasemonkey
- Install plugin via userscripts
Chrome:
- Install plugin via userscripts
Opera:
- In the menu, follow Settings > Preferences > Advanced > Content > Javascript Options
- Click "Choose..." and select where your javascript plugins will load from. I suggest going to My Documents or the equivalent, creating a folder called "Opera Plugins", and using that. Then click OK.
- On the userscripts page, right click 'Install' and click 'Saved Linked Content As...". Save this file in the folder you chose above.
Use:
You can favorite by clicking on the broken heart icon, and remove from your favorites by clicking on the heart icon. This is a toggle which display broken when not favorited, and a solid heart when favorited. REDUNDANCY, GET USED TO IT.
After you've favorited your fair share or fine fellows, you can view them by clicking 'Favorite Authors' in the submenu on the map pages. If you want to share your favorites with other people, head over to your user profile. On the top right of your profile section, you'll see 'Edit Settings' and 'Sync uberFAP'. Click 'Sync uberFAP' to send your favorite authors up to the server and share with everyone else.
Viewing other peoples' favorites, assuming they've shared, search for "!favorites:user". Note the exclamation mark, and make sure it's in there on your search. Also, replace author with the user's favorites you're searching =3=
Settings for uberFAP can be found under the normal settings for your account:
- Frequency: Determines how often uberFAP will check NUMA for new maps by your favorite authors and update the 'X fav. updates' notification.
- Results per author: How many maps will be pulled in from each author to populate favorite authors lists. Affects all lists you visit.
- Automatically sync favorites: Each time you favorite or unfavorite an author, uberFAP will automatically send that change to the server to update your list.
- Restore uberFAP: Clicking and confirming this will request your list from the server, and populate your favorite authors with those on the server.
- Clear uberFAP: Clicking and confirming this will clear your favorite authors locally in your cookie, and on the server. People will no longer be able to see which authors you've favorited after this.
On occasion, you will get a message saying, "uberFAP's cookie has been changed..." This usually happens because you had multiple tabs open, and made different changes to your favorite authors on any two or more of them. As of yet, I haven't developed a method that merges these changes, and you'll have to either overwrite the changes made with the current tab by clicking OK, or choose to keep the changes already saved to the cookie, losing the current tab's changes, by clicking CANCEL. I will be working on a way to merge lists, eventually.
Screenshots:
Update notification:

Favorite authors map listing:

Profile favorite authors list:

Sync link:

uberFAP configuration on the settings page:

Thanks to beta testers:
redmoon
leaphph
`
jerrod
Richard 'The Heartattack' Nelson
Security Information:
Some antiviruses think this is a rootkit or attack of sorts. I don't know if it's because there are eval() calls or that is sees the incredibly roundabout xss method I coded in, but there is nothing harmful that can happen from this plugin.
Assuming a problem will eventually arise:
Please, pretty please, message me on the forums or IRC. Preferably IRC since this is real-time and we can work issues out much quicker.
When an issue occurs, make sure you are using the latest version of what you are using. If there's still an issue, alongside telling me what is going on, also tell me what browser you're using. If you've been using the plugin already, and are just now having trouble, paste this code into your address bar:
Code: Select all
javascript:var j=document.cookie.split("; ");for(var x=0;x<j.length;x++){var c=j[x].split("=");if(c[0]==escape('vars')){prompt('',c[1])}};return false;
Thanks.