473,507 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript in browser

Hi,
Does anyone know if its possible to tweak a browser (i.e firefox) on
how it handles javascript. example:

a java script turns something red (lets say the scroll bar) - feeds it
to the browser - but the browser has been modify to execute a "red"
attribute as blue - thus even when the script says to turn it red, it
still outputs as blue!

Thanks in advance.

al ;)

Jul 23 '05 #1
2 1298
In article <11*********************@g47g2000cwa.googlegroups. com>,
si*******@gmail.com enlightened us with...
Hi,
Does anyone know if its possible to tweak a browser (i.e firefox) on
how it handles javascript. example:

a java script turns something red (lets say the scroll bar) - feeds it
to the browser - but the browser has been modify to execute a "red"
attribute as blue - thus even when the script says to turn it red, it
still outputs as blue!


If I understand you correctly, you want to disable custom stylesheets?
I believe such modifications are specifically meant to NOT be able to be
overridden. For example, for red-green colorblind people.

If you meant you want to create a rule where red is rendered as blue, use
custom stylesheets. :)

--
--
~kaeli~
A boiled egg in the morning is hard to beat.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
Alex Lee wrote:
a java script turns something red (lets say the scroll bar) - feeds it
to the browser - but the browser has been modify to execute a "red"
attribute as blue - thus even when the script says to turn it red, it
still outputs as blue!


Note that whether assigning a value to a scripted CSS property of an
element works as described depends on the specificity of selectors of
the style sheets that are already there (therefore `_Cascading_ Style
Sheets'). This includes, but is not limited to, user stylesheets
making use of `!important' declarations.

<http://www.w3.org/TR/CSS21/cascade.html>
PointedEars

P.S.
There is an additional space in your name that you may
want to remove to not be subject to some real name filters.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.