Transparent background in Firefox
-
- Guest
Transparent background in Firefox
Hi there,
Any desktop tuning freaks that want to try background transparency in Mozilla Firefox try my new little patch. I took the idea from gnome-terminal. You can get the patch from http://www.zabor.org/mozilla-firefox-transparency.patch
I know it still needs a lot of work, but there are cases where it looks good. Here is a screenshot: http://www.zabor.org/screen2.png (on the left is a gnome-terminal).
Suggestions welcome!
Greetings
Any desktop tuning freaks that want to try background transparency in Mozilla Firefox try my new little patch. I took the idea from gnome-terminal. You can get the patch from http://www.zabor.org/mozilla-firefox-transparency.patch
I know it still needs a lot of work, but there are cases where it looks good. Here is a screenshot: http://www.zabor.org/screen2.png (on the left is a gnome-terminal).
Suggestions welcome!
Greetings
- Rattlesnake
- Posts: 420
- Joined: November 20th, 2004, 6:33 am
-
- Guest
Sorry, I should have posted this in General Discussion Firefox instead of Firefox Support, ofcourse.
By the way the feature isn't causing me any difficulties in reading (so far..) because the desktop's background only appears in webpages that don't have a background image of their own and when their bg colour matches the desktop (by default only white or very bright).
By the way the feature isn't causing me any difficulties in reading (so far..) because the desktop's background only appears in webpages that don't have a background image of their own and when their bg colour matches the desktop (by default only white or very bright).
- Vectorspace
- Moderator
- Posts: 14455
- Joined: November 27th, 2003, 4:50 am
- Location: Warwickshire, UK
- Contact:
Hey, that's cool. Does it only work on the Linux platform?
Added bonus, I'll move this to FF General for you.
Added bonus, I'll move this to FF General for you.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
- Rattlesnake
- Posts: 420
- Joined: November 20th, 2004, 6:33 am
balrog wrote:Sorry, I should have posted this in General Discussion Firefox instead of Firefox Support, ofcourse.
By the way the feature isn't causing me any difficulties in reading (so far..) because the desktop's background only appears in webpages that don't have a background image of their own and when their bg colour matches the desktop (by default only white or very bright).
Okey, I'd like to try it....but how do you actually install it? I couldn't find any readme or anything.
- Thumper
- Posts: 8037
- Joined: November 4th, 2002, 5:42 pm
- Location: Linlithgow, Scotland
- Contact:
- RadioactiveMan
- Posts: 1222
- Joined: June 27th, 2005, 5:37 pm
- Location: Portland, Oregon
- Rattlesnake
- Posts: 420
- Joined: November 20th, 2004, 6:33 am
Thumper wrote:You don't install it. If you don't know what to do with a patch file, you're not in a position to apply it.
- Chris
Allright, but was it smart of me to learn how to compile programs from source or installing a .deb-package. Or wasn't that smart either, since I didn't know what to do with it without reading a howto the very first time?
-
- Posts: 2
- Joined: August 19th, 2005, 1:55 pm
- Location: Warsaw, PL
- Contact:
Vectorspace wrote:... Does it only work on the Linux platform?
Unfortunately yes, but I tried to follow OOP guidelines so that it is enough to overload a single method for Windows, Mac or BeOS support.
And yeah to install it you need to download the firefox sources, unpack them, apply the patch with "patch -p0" and then follow the normal README instructions
- Vectorspace
- Moderator
- Posts: 14455
- Joined: November 27th, 2003, 4:50 am
- Location: Warwickshire, UK
- Contact:
Curiosity killed the cat...balrog wrote:Vectorspace wrote:... Does it only work on the Linux platform?
Unfortunately yes, but I tried to follow OOP guidelines so that it is enough to overload a single method for Windows, Mac or BeOS support.
What do you mean by 'overload a single method'?
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
-
- Posts: 2
- Joined: August 19th, 2005, 1:55 pm
- Location: Warsaw, PL
- Contact:
Vectorspace wrote:Curiosity killed the cat...balrog wrote:Unfortunately yes, but I tried to follow OOP guidelines so that it is enough to overload a single method for Windows, Mac or BeOS support.
What do you mean by 'overload a single method'?
Well, it's a C++ term. In detail: the interface class for rendering contexts (nsIRenderingContext) has one derived class for each platform, for Linux it is nsRenderingContextGTK and for example for mac it is nsRenderingContextMac. If a derived class for your platform doesn't overload the method that implements transparency then nsIRenderingContext will simply fall back to normal non-transparent background. (well, it may sound complex, but it makes porting easy)
- Vectorspace
- Moderator
- Posts: 14455
- Joined: November 27th, 2003, 4:50 am
- Location: Warwickshire, UK
- Contact: