|
Script Summary:
Adds a watchlist to AnonIB. (Not needed, as AnonIB now has a built-in watchlist) |
This script has no discussions. |
This script has no reviews. |
AnonIB now has a built-in watchlist
This script needs work that I don't have time to give it. Future updates are unlikely.
Please note that the list is stored in cookies; if they are not enabled, this will not work. Also, if you delete the cookies, the list will be cleared. If you want to find these cookies, they will be under ", and prefixed with "MREFOX_". Deleting any of these may cause minor errors, but the script will replace them.
To add an item to the watchlist, simply click '(Watch)' on the first post of the thread. These are added to the page at load time.
There are two main side-effects to adding a lot of items to the list. First, the list will take a long time to load. Second, the cookie used to store the list's data cannot exceed 4KB (4096 characters). You'd need to add quite a few items to do this, though.
Also note: this version is extremely prone to failing. Because of this, you should be not depend on it for anything. Check back here within the next few days for a more final version.
Updates:
This script needs work that I don't have time to give it. Future updates are unlikely.
Please note that the list is stored in cookies; if they are not enabled, this will not work. Also, if you delete the cookies, the list will be cleared. If you want to find these cookies, they will be under ", and prefixed with "MREFOX_". Deleting any of these may cause minor errors, but the script will replace them.
To add an item to the watchlist, simply click '(Watch)' on the first post of the thread. These are added to the page at load time.
There are two main side-effects to adding a lot of items to the list. First, the list will take a long time to load. Second, the cookie used to store the list's data cannot exceed 4KB (4096 characters). You'd need to add quite a few items to do this, though.
Also note: this version is extremely prone to failing. Because of this, you should be not depend on it for anything. Check back here within the next few days for a more final version.
Updates:
- Major and Minor Bugs Fixed:
I also updated the code to be flexible; if you don't like the way that I have something set, you may be able to change it. Changeable values include: page position, background/foreground colors, title background color, highlight background/foreground colors, border style, border thickness, default starting position, width, and height, which corner "sticks" to the page when expanding/collapsing the list, font size/family, and whether or not you see an alert on addition success. To change a value (after installing) open the GreaseMonkey "Manage User Scripts" dialog, select "AnonIB Watchlist", and click edit on the bottom to the window. From there it's fairly self explanatory; follow the directions in the script.
I plan on yet another version, which will include the following features: the ability to remove an item, check if an item has already been added, refresh the list without reloading the page, and temporarily stopping the list from loading altogether. - Small Bug Fix:
If you refreshed the page before the watch list was finished loading, unloaded items were removed from the list. I fixed this, and it caused the list to be unable to clear the reply counter. This has also been fixed. - New Features, Naming Changes, and Small Bug Fixes:
Refresh and remove options have been added to either the global list or individual items. The refresh feature allows the watch list to be updated without needing to update the entire page. The remove option allows you to remove a thread/all threads from the list.
Cookie names have been changed to exclude "watch" from the name. Also, the separator (user to differentiate between watched threads) has been changed from "/" to "/\/". Previously, the width and height of the watch list were saved in the cookies. These have been removed entirely.
If you are upgrading from a previous version, you will may want to clear all cookies prefixed with "MREFOX_watch". They will no longer be used in this version. Also, any settings/watched threads will be lost. - Small Bug Fix:
When I eliminated the width/height cookies, I forgot that they were needed to toggle the list back open. Because of this, the background would disappear until the page was refreshed.





