Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: MyGaming full screen

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    FarligOpptreden's Avatar
    Join Date
    Feb 2009
    Location
    Centurion
    Posts
    3,997

    Default

    ...aaaaaaaaaand done!

    Just install Stylebot plugin for Chrome and add a new style rule:
    - Click the Stylebot button in Chrome (just an icon with the text "CSS")
    - Choose "Options"
    - Go to "Styles"
    - Click "Add a new style..."
    - Specify "mygaming.co.za" as the URL and enter the following piece of CSS in the text editor:
    Code:
    body {
        width: 100% !important;
    }
    After you've done that, any page on MyGaming you access should make the Stylebot button turn green - i.e. a match on the domain is found. Your custom stylesheet should then be applied!

    EDIT: It's not perfect - you have some slight horizontal overflow on the page, but I'm sure with enough time I can come up with a good-looking "full screen" CSS hack for MyGaming.
    Last edited by FarligOpptreden; 06-05-2014 at 05:47 PM.

  2. #2

    Default

    Shot. Took that CSS and threw it into a chrome extension. Which does what its supposed to.

    One issue though...it blocks pop-ups now...e.g. the window to upload pic etc. Any ideas?

    Quote Originally Posted by FarligOpptreden View Post
    ...aaaaaaaaaand done!

    Just install Stylebot plugin for Chrome and add a new style rule:
    - Click the Stylebot button in Chrome (just an icon with the text "CSS")
    - Choose "Options"
    - Go to "Styles"
    - Click "Add a new style..."
    - Specify "mygaming.co.za" as the URL and enter the following piece of CSS in the text editor:
    Code:
    body {
        width: 100% !important;
    }
    After you've done that, any page on MyGaming you access should make the Stylebot button turn green - i.e. a match on the domain is found. Your custom stylesheet should then be applied!

    EDIT: It's not perfect - you have some slight horizontal overflow on the page, but I'm sure with enough time I can come up with a good-looking "full screen" CSS hack for MyGaming.
    #hashtag #anotherhashtag #bonushashtag

  3. #3
    FarligOpptreden's Avatar
    Join Date
    Feb 2009
    Location
    Centurion
    Posts
    3,997

    Default

    Nothing in that CSS that's supposed to block popups... Hmmm... I'll have to investigate a bit further. Lemme have a look after casting my vote tomorrow.
    --~<0>~-- {type}DEV --~<0>~--

  4. #4

    Default

    Quote Originally Posted by FarligOpptreden View Post
    Nothing in that CSS that's supposed to block popups... Hmmm... I'll have to investigate a bit further. Lemme have a look after casting my vote tomorrow.
    Yep I think this one is up to you...I was much surprised that I even managed to jam your code into a chrome ext & know zero about css so I can't help.

    Well here is the Chrome ext + "source" I threw together...its essentially just your code without the stylebot part so it should be the same thing either way
    http://s000.tinyupload.com/?file_id=...40179982981121

    nb I removed the !important; in an attempt to see if that helps (thinking it might override the layer/z order or something)...didn't help.

    First chrome extension that actually works ...despite the obvious glitch.
    #hashtag #anotherhashtag #bonushashtag

  5. #5
    FarligOpptreden's Avatar
    Join Date
    Feb 2009
    Location
    Centurion
    Posts
    3,997

    Default

    Nah, !important only forces it to use the style rule instead of adhering to CSS specificity. I'll have a look at the popup issue a bit later...
    --~<0>~-- {type}DEV --~<0>~--

  6. #6
    FarligOpptreden's Avatar
    Join Date
    Feb 2009
    Location
    Centurion
    Posts
    3,997

    Default

    Ok, I loaded your extension and it seems to be working fine for me? Popups open 100%. Would you mind sending me a screenshot of what happens? Or should I rather catch you on Steam chat?

    EDIT: I fiddled with the CSS a bit a came up with a nice, clean layout. Try adding this to your CSS file and see if you like it:

    Code:
    body {
        width: 100% !important;
        background: #ddd !important;
        overflow-x: hidden;
    }
    body > div {
        background: #ddd !important;
    }
    #_em_stage__em, #ad_global_below_navbar, .tborder, #header_advert, #ad_global_above_footer {
        display: none !important;
    }
    #header + a {
        position: absolute !important;
        padding: 6px 5px 7px 5px !important;
        background: #fff !important;
    }
    #header + a > img {
        width: 90px !important;
    }
    .navbar {
        position: absolute !important;
        left: 105px !important;
        width: auto !important;
        right: 0px !important;
    }
    #breadcrumb {
        position: absolute !important;
        left: 3px !important;
        top: 146px !important;
    }
    .body_wrapper {
        padding: 30px 0 !important;
    }
    I had to hack the horizontal overflow a bit to let it NOT scroll, but it suffices for now. I'll see if I can pretty it up a bit at a later stage.
    Last edited by FarligOpptreden; 07-05-2014 at 12:34 PM.

  7. #7

    Default

    That version works perfectly. Thank you & job well done.

    Extension & source should someone want it

    http://s000.tinyupload.com/?file_id=...37447252444971

    Quote Originally Posted by FarligOpptreden View Post
    I'll see if I can pretty it up a bit at a later stage.
    Looks perfectly fine to me?
    #hashtag #anotherhashtag #bonushashtag

  8. #8
    FarligOpptreden's Avatar
    Join Date
    Feb 2009
    Location
    Centurion
    Posts
    3,997

    Default

    It's still not very "pretty". It needs some cleanup, i.e. paddings, margins and so on. I've nevet been too happy with the MyG forum layout - many buttons feel too hidden and unintuitively placed.
    --~<0>~-- {type}DEV --~<0>~--

Similar Threads

  1. 17" laptop screen at 1600x900 or 15.6" screen at 1366 x 768
    By saflyfish in forum Hardware and Gadgets
    Replies: 5
    Last Post: 26-08-2013, 03:16 PM
  2. My screen just got delivered :D
    By Maplassie in forum Hardware and Gadgets
    Replies: 12
    Last Post: 31-10-2011, 02:34 PM
  3. What do you look for in a screen?
    By Leyzer in forum Hardware and Gadgets
    Replies: 30
    Last Post: 28-09-2011, 12:42 PM
  4. Scratched screen :(
    By Terak in forum Off Topic
    Replies: 13
    Last Post: 15-11-2010, 01:02 PM
  5. PS3 + computer screen
    By eskimo in forum Gaming Discussions
    Replies: 3
    Last Post: 18-01-2010, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •