Option just for mail count?
![]() ![]() |
I'm grateful you've updated the script and find the count of the number of unread messages very useful. However I'd like to disable the changing of the icon and just leave your Red icon there permanently. Can you tell me which elements of the script to comment out in order to make this happen? |
![]() ![]() |
The script will be a bit overkill, but if you comment out line 171-172 and add So, to sum up, line 171-172 changes from:
this.timer = setInterval(this.poll, 500); this.poll(); To: //this.timer = setInterval(this.poll, 500); //this.poll(); this.setIcon(self.icons.read); I have tested it to work in Firefox 3.5 on Windows XP. |
![]() ![]() |
Just took another look at your message and realized this won't solve your problem. At this point, you'd need to follow the steps in this thread (http://userscripts.org/topics/30625) to add the pixel-by-pixel colors to the array. Unfortunately, the <canvas> is limited for security from accepting a remote or Base64-encoded image, so the image must be constructed from a pixel map. As I mentioned in the other thread, I might make a tool to make this a little easier.</canvas> |

