General questions about scripts and buttons should be asked here. Development scripts and buttons may also be posted for feedback.
Moderators: Support Staff², Support Staff, AvantGuard, Developer
- Posts: 1
- Joined: Tue Mar 16, 2010 6:32 pm
- Windows Version: Windows 7
- Avant Version: 11.7 b46
- IE Version: 8
Hi, I've been using Avant Browser for years now, but there's a little thing that's irking me as of late. Sometimes in Gmail I get a message in which text was forced to black or another dark color, but since I'm using the Terminal theme it doesn't show on a black background, so I was wondering if it's possible to write a script that automatically forces this to the default text color.
which may be useful, and I wrote what (I hope) will replace the color.
Code: Select all
var col = getElementsByAttribute(color);
//removes the "#" and turns the value of col into an integer
for(x in col)
if((col[x] <= 202020 && col[x] >= 202000) || (col[x] <= 200020 && col[x] >= 200000) || (col[x] <= 002020 && col[x] >= 002000) || (col[x] <= 000020 && col[x] >= 000000))
I'm absolutely not sure how correct this is, so I'm asking here to have someone look this over and correct me where possible.
Thanks in advance.
Who is online
Users browsing this forum: No registered users