BantonSong / zirco-browser

Automatically exported from code.google.com/p/zirco-browser
Other
0 stars 0 forks source link

[Enhancement] night mode #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been looking for a browser that uses the native rendering-engine as it is 
hardware accelerated on my SGS.
What I miss with any browsers is a nightmode, which will make the browser 
especially attractive for AMOLED-handsets. As zirco is already injecting js 
into the websites, this should be easy to implement. There are already js's 
(e.g. in j-query) that invert all colour-codes on the website. Include a short 
snippet that determines if the background-colour is dark and you should be fine.

Hope this is not too complicated. Unfortunately I'm not capable of js, though 
:(, but contact me if I can be of any assistance to the issue.

Best wishes,
noctux

Original issue reported on code.google.com by noctuxon...@gmail.com on 19 Jun 2011 at 10:05

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for your feedback. This may be a good feature, i've never think of it. I 
found some exemple of js for color invertion. Not sure if this should be 
automatic or user-triggered through... The problem of js injection is that it 
can overload small-powered devices if used on websites which use intensive 
javascript.

Anyway, this worth a try :)

Original comment by J.Devauc...@gmail.com on 19 Jun 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Basically you can invert any given colour by adding FFFF to the hex values. 
Keywords (black, white, etc.) might be problematic though.

Original comment by noctuxon...@gmail.com on 20 Jun 2011 at 3:24

GoogleCodeExporter commented 9 years ago
A possible way to implement a "night mode" while leaving the details of how to 
deal with particular keywords etc in the hands of the user is to allow for 
user-specified css. 

This is a facility that currently exists in Opera browsers 
(http://www.opera.com/docs/usercss/) and in the desktop version of Firefox 
(http://www-archive.mozilla.org/unix/customizing.html).

Original comment by bencolle...@gmail.com on 31 Aug 2011 at 4:02

GoogleCodeExporter commented 9 years ago
If Zirco browser supports user-script, this could be easy fix. Opera mobile 
browser supports userscripts, though it doesn't really show this feature in 
gui. It would be great to have a gui to "check" custom scripts, similar to 
Greasemonkey.

Original comment by luke...@msn.com on 12 Oct 2011 at 10:16