by GµårÐïåñ » Sun Mar 25, 2012 6:19 am
Ok, I failed in my explanation I think, let me try this again. The notification is not some DIV or hovering container that just shows up on TOP of the DOM container (the page) and can be read and dismissed, like a message box pop up. It ACTUALLY generates and shifts down the page container by a certain pixel amount and using that method, it would shift the ENTIRE page down when its painted and then you click close or go away by timer, it will shift the whole page back up again. See the difference now?
If he did an injected hovering container (combination of HTML/CSS) then yeah it would just overlay and you can get rid of it, but if using the built-in API for the notification done by the browser, then it would actually shift the content and wouldn't just overlay. You can test this by playing with say NoScript notification or BetterPrivacy notification, know your rights notification from mozilla, Abine, and any other addon that uses the notification system and see what I mean about the shift.
Ok, I failed in my explanation I think, let me try this again. The notification is not some DIV or hovering container that just shows up on TOP of the DOM container (the page) and can be read and dismissed, like a message box pop up. It ACTUALLY generates and shifts down the page container by a certain pixel amount and using that method, it would shift the ENTIRE page down when its painted and then you click close or go away by timer, it will shift the whole page back up again. See the difference now?
If he did an injected hovering container (combination of HTML/CSS) then yeah it would just overlay and you can get rid of it, but if using the built-in API for the notification done by the browser, then it would actually shift the content and wouldn't just overlay. You can test this by playing with say NoScript notification or BetterPrivacy notification, know your rights notification from mozilla, Abine, and any other addon that uses the notification system and see what I mean about the shift.