enable glass to certain web content only

About: Glass every single part of firefox 3.5
edited July 2009 in Style Reviews
How to enable glass to certain web content ONLY (no other pages to be affected) such as:
- Download Manager opened in tab (chrome://mozapps/content/downloads/downloads.xul)
- Bookmark Manager opened in tab (Sidebar and content area only) (chrome://browser/content/places/places.xul)
- Sidebar: History/Bookmarks ... etc. (contents area only)
- About:Blank aka new tab

+ use the "all glass firefox mod 2.1.2" addon along with it instead of using "Glass every single part of firefox 3.5".

one more thing can you add comments or clean/rearrange your code, may be I could be able to do this but the code is hard to read

Comments

  • I'm using the All Glass Firefox mod, based on Glasser, on my FF3.5 on Windows 7 and it works pretty well, except if I hide all the toolbars (tab bar included) it will make the text/shadows of webpages transparent so I can see my Desktop through it... Bringo, if you're using the extension can you tell me if you get the same bug?
  • Posted By: BringoHow to enable glass to certain web content ONLY (no other pages to be affected) such as:
    - Download Manager opened in tab (chrome://mozapps/content/downloads/downloads.xul)
    - Bookmark Manager opened in tab (Sidebar and content area only) (chrome://browser/content/places/places.xul)
    - Sidebar: History/Bookmarks ... etc. (contents area only)
    - About:Blank aka new tab

    + use the "all glass firefox mod 2.1.2" addon along with it instead of using "Glass every single part of firefox 3.5".

    one more thing can you add comments or clean/rearrange your code, may be I could be able to do this but the code is hard to read
    I think you missed the whole point of the "Lazy mans approach" there is no code for individual areas of firefox, if you only want it on certain parts just use -moz-document for the areas you want.

    @-moz-document url(chrome://*insert your area here*.xul), url(chrome://*insert another area here*.xul){ *insert code here* }

    some form of "comments or clean/rearrange code" will come at some point.
  • this would be great if it worked...I disabled all my ext/theme/styles and switched to default just to make sure there were no conflicts. It glasses Everything XCEPT web content. as a matter of fact it throws a blur effect over web pages so I cant see a thing. It looks just like that pic makondo shows below...any suggestions? Another matter of fact - in order to see web content i apply the Glasser Fix ext. (All glass firefox mod) and the web pages are now readable, but they are not transparent
  • hey i've got a quick question...is there any way to get this so it only affects all menus, sidebars, and popups...everything else I pretty much have the way i want it, and applying the whole style doesnt work for me.
  • edited August 2009
    Did you check any of my Glass styles? I made them all separate for that purpose - i have them all but i figured some might not want it but a few areas or one. Now, my Glass is not clear glass, it's more like vista's, kinda frosted glass. If you have a clear glass (which you can, if you wish, just comment the bg image), you can't see things (like editors, options, etc). That's why i use a transparent image which slightly 'frosts' bg in the important areas. This way i don't have to deal with text shadows too much either. Anyway, all styles have shots and 'better shots' links. Take a look.
    Oh, i use what i linked in the description and didn't try it with All Glass... can't find the time to get to that profile! So, another words, i don't know if it will work for you but might give you an idea or two ;-)

    EDIT: OK, it appears most of my styles do work with All Glass except for Addons Manager, Scrollbar and Sidebar styles (Stylish, Bookmarks and History). I don't think i'll be able to make them work either since i use Glasser (needs to be bumped it for Fx 3.5.2) and everything works fine there (well, scrollbar is a bit funny but that's beyond me, has to do with black bg everywhere to make it glassy. It work in sidebar and web pages except for textboxes and internal editors?!). So, menu, tooltips, options, editors (dialogs), ... all that works all right.
  • hey thanks! none of those seem to work for me though :( it must be the configuration I have going ...just can't get the right combo to glass my menus without messing something else up
  • IIRC, YupYup uses win7. Could this be why it doesn't work on vista? I should say in Fx on Vista. Could be. None of his styles works for me in the All Glass profile. BTW i don't think exts. have anything to do with it, themes do though.
    Oh well, at least i tried :-)
  • Yes i use windows 7 but it does work in vista with the exception that web content is not glassed if the window is maximized. In addition the glass is completely clear (no blur) in fullscreen in vista and windows 7.

    @ajaycee this style enables the glass for web content but you will still need a style for that specific website or it will look like the pic makondo posted.
  • I have tried everything I managed to know how to glass about pages (new tab) without this style (with all glass mod disabled) using this code:
    /*-----------------------------------------------------------------------------------------------*/
    @-moz-document url-prefix("about:")
    {
    html
    {
    background-color:#000 !important;
    opacity:0.99!important
    }
    }

    #main-window
    {
    -moz-appearance: -moz-win-glass !important ;
    }
    /*-----------------------------------------------------------------------------------------------*/

    but it will result the same bug (text transparency) again
    glassing #main-window is not efficient so I tried to go further with DOM inspector to find any other property from within the html that can work since #main-window or any other property wouldn't work inside html, found nothing.

    my question is how to tell #main-window to be glassed only when I'am at @-moz-document url-prefix("about:") only. I feel like giving up on this.
  • @-moz-document url("about:blank")
  • /*4Glass by Lottel. Get more of Lottel's works at http://userstyles.org/users/40174 and at lottel.deviantart.com*/
    /*Note: This will work in conjunction with most other 4chan styles as well. If you use this and modify it, let me know! I am always looking for new styles to use ;)*/

    @namespace html url(http://www.w3.org/1999/xhtml);

    @namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);


    @-moz-document domain("blush.com.my")

    {

    html|body
    { background:
    url("http://bayimg.com/image/kakhjaaca.jpg")
    no-repeat fixed bottom right,
    #000 !important; opacity: .99 !important;
    text-shadow: 0px 0px 3px #aaa, 0px 0px 7px #aaa, 0px 0px 7px #aaa, 0px 0px 3px #aaa, 0px 0px 7px #aaa, 0px 0px 7px #aaa
    }
    }
    #main-window[stylish-domain$="blush.com.my"]
    { padding-top: 1200px !important;
    margin-top: -1200px !important;}

    ----------------------------------

    used with "http://www.blush.com.my/black.htm"


    about:blank doesn't have a background so you cant make it opaque. if someone knows how to edit "about:blank"
Sign In or Register to comment.