Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Start page layout broken when using AdBlockPlus

Start page layout broken when using AdBlockPlus

Scheduled Pinned Locked Moved Site Bugs / Suggestions
question
13 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J JF2015

    Hi, yes I know, you guys here really need the money from the advertisments but nonetheless one of my stations runs FireFox 3.6.12 with activated AdBlockPlus. Since one week or so, the start page of Codeproject (especially the list of recent articles) looks a bit weird. I just noticed that it's looking fine if I deactive AdBlock. Is this your way of telling us to deactivate the ad blocker? :laugh: Best regards, JF

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #2

    I am sure the team will treat this as high priority.

    TodoList.Add("Fix layout when user has AdBlockPlus enabled", Priority.MinValue);

    Regards, Nish


    My technology blog: voidnish.wordpress.com

    1 Reply Last reply
    0
    • J JF2015

      Hi, yes I know, you guys here really need the money from the advertisments but nonetheless one of my stations runs FireFox 3.6.12 with activated AdBlockPlus. Since one week or so, the start page of Codeproject (especially the list of recent articles) looks a bit weird. I just noticed that it's looking fine if I deactive AdBlock. Is this your way of telling us to deactivate the ad blocker? :laugh: Best regards, JF

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #3

      Purely unintentional since I don't use AdBlock. However, fixing rendering issues caused by add-ins that change our layout is, as Nish pointed out, about as low on the priority list as it gets. ;)

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      L 1 Reply Last reply
      0
      • J JF2015

        Hi, yes I know, you guys here really need the money from the advertisments but nonetheless one of my stations runs FireFox 3.6.12 with activated AdBlockPlus. Since one week or so, the start page of Codeproject (especially the list of recent articles) looks a bit weird. I just noticed that it's looking fine if I deactive AdBlock. Is this your way of telling us to deactivate the ad blocker? :laugh: Best regards, JF

        M Offline
        M Offline
        Moak
        wrote on last edited by
        #4

        Technically it is not an adblocker causing the problems, it's a 3rd party JavaScript from lakequincy.com. Using Firefox with NoScript will lead to the same layout problems, right? /M

        Chat in Europe :java: Now with 24% more Twitter

        C 1 Reply Last reply
        0
        • M Moak

          Technically it is not an adblocker causing the problems, it's a 3rd party JavaScript from lakequincy.com. Using Firefox with NoScript will lead to the same layout problems, right? /M

          Chat in Europe :java: Now with 24% more Twitter

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #5

          Turning off Javascript will mean the site doesn't render the same as with Javascript since we use jQuery UI to generate the tabs. In this particular instance, though, AdBlocker is stripping out some javascript, but not all, causing unexpected* javascript errors which then cause the remaining javascript (the stuff to render the tabs) to then fail. *As opposed to the expected errors.

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          M 1 Reply Last reply
          0
          • C Chris Maunder

            Turning off Javascript will mean the site doesn't render the same as with Javascript since we use jQuery UI to generate the tabs. In this particular instance, though, AdBlocker is stripping out some javascript, but not all, causing unexpected* javascript errors which then cause the remaining javascript (the stuff to render the tabs) to then fail. *As opposed to the expected errors.

            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

            M Offline
            M Offline
            Moak
            wrote on last edited by
            #6

            No that's not entirely true, you see the layout problems with NoScript alone. The potential adblocker/noscript does not remove partial JavaScript, the problem is a single 3rd party external script, which if not loaded will cause the frontpage layout to fail. Surfing the rest of the site seems to work fine, I use FF with NoScript and had no problems with posting and voting. Makes me wonder why does an advertiser network have to provide executable code to thousands of users?

            Chat in Europe :java: Now with 24% more Twitter

            C 1 Reply Last reply
            0
            • M Moak

              No that's not entirely true, you see the layout problems with NoScript alone. The potential adblocker/noscript does not remove partial JavaScript, the problem is a single 3rd party external script, which if not loaded will cause the frontpage layout to fail. Surfing the rest of the site seems to work fine, I use FF with NoScript and had no problems with posting and voting. Makes me wonder why does an advertiser network have to provide executable code to thousands of users?

              Chat in Europe :java: Now with 24% more Twitter

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #7

              I don't think you understood fully what I was saying. If there is no javascript then the layout is different. If javascipt is present but AdBlock removes our ad serving javascript file then our javascript throws an error (function not found) and this then causes the rest of the javascript to fail, meaning the rest of the page renders as if javascript is not enabled. I've fixed this and will have an update soon. LakeQuincy Media is CodeProject's ad serving service. The script we place on the page via LakeQuincy does all the work of (a) telling the server where the ad should be shown (and what type of ad), and (b) actually showing the ad that is returned. We've done some optimisation with that javascript so that, when viewing the page, round trips to the ad server are minimised, speeding up the entire page.

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

              M D 2 Replies Last reply
              0
              • C Chris Maunder

                I don't think you understood fully what I was saying. If there is no javascript then the layout is different. If javascipt is present but AdBlock removes our ad serving javascript file then our javascript throws an error (function not found) and this then causes the rest of the javascript to fail, meaning the rest of the page renders as if javascript is not enabled. I've fixed this and will have an update soon. LakeQuincy Media is CodeProject's ad serving service. The script we place on the page via LakeQuincy does all the work of (a) telling the server where the ad should be shown (and what type of ad), and (b) actually showing the ad that is returned. We've done some optimisation with that javascript so that, when viewing the page, round trips to the ad server are minimised, speeding up the entire page.

                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                M Offline
                M Offline
                Moak
                wrote on last edited by
                #8

                I think Jeff Sutherland is right when he says one of the biggest problems of organisations is to remove impediments, even with help. Good luck!

                Chat in Europe :java: Now with 24% more Twitter

                1 Reply Last reply
                0
                • J JF2015

                  Hi, yes I know, you guys here really need the money from the advertisments but nonetheless one of my stations runs FireFox 3.6.12 with activated AdBlockPlus. Since one week or so, the start page of Codeproject (especially the list of recent articles) looks a bit weird. I just noticed that it's looking fine if I deactive AdBlock. Is this your way of telling us to deactivate the ad blocker? :laugh: Best regards, JF

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #9

                  Good catch :)

                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    Purely unintentional since I don't use AdBlock. However, fixing rendering issues caused by add-ins that change our layout is, as Nish pointed out, about as low on the priority list as it gets. ;)

                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                    L Offline
                    L Offline
                    leppie
                    wrote on last edited by
                    #10

                    Chris Maunder wrote:

                    fixing rendering issues caused by add-ins that change our layout is, as Nish pointed out, about as low on the priority list as it gets.

                    But thank you for fixing. I have to run AdBlockPlus, as our corporate internet is so slow. Maybe I'll turn it off selectively for CP (I have it completely turned off at home however).

                    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                    C 1 Reply Last reply
                    0
                    • L leppie

                      Chris Maunder wrote:

                      fixing rendering issues caused by add-ins that change our layout is, as Nish pointed out, about as low on the priority list as it gets.

                      But thank you for fixing. I have to run AdBlockPlus, as our corporate internet is so slow. Maybe I'll turn it off selectively for CP (I have it completely turned off at home however).

                      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #11

                      The fix was not even a single line so I whacked it in. That still doesn't mean I'm not hurt, deep down, by the use of adblockers on our site ;)

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        I don't think you understood fully what I was saying. If there is no javascript then the layout is different. If javascipt is present but AdBlock removes our ad serving javascript file then our javascript throws an error (function not found) and this then causes the rest of the javascript to fail, meaning the rest of the page renders as if javascript is not enabled. I've fixed this and will have an update soon. LakeQuincy Media is CodeProject's ad serving service. The script we place on the page via LakeQuincy does all the work of (a) telling the server where the ad should be shown (and what type of ad), and (b) actually showing the ad that is returned. We've done some optimisation with that javascript so that, when viewing the page, round trips to the ad server are minimised, speeding up the entire page.

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #12

                        So this was fixed not because adblock was causing a problem with layout but because if lakequincy fell over it would cause problems with layout for everyone?

                        3x12=36 2x12=24 1x12=12 0x12=18

                        C 1 Reply Last reply
                        0
                        • D Dan Neely

                          So this was fixed not because adblock was causing a problem with layout but because if lakequincy fell over it would cause problems with layout for everyone?

                          3x12=36 2x12=24 1x12=12 0x12=18

                          C Offline
                          C Offline
                          Chris Maunder
                          wrote on last edited by
                          #13

                          It was fixed because it was a bug in our code, regardless of what surfaced the bug.

                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups