Hiding Vertical Scrollbars with Pure CSS in Chrome, IE (6+), Firefox, Opera, and Safari

I just spent the past day trying to figure out the best way to hide scrollbars using pure CSS in the latest versions of every browser.  I wanted to be able to still scroll within the element, however, so using: .element { overflow: hidden; }  was not an option.  I looked at how Facebook hides…

35

JsonRequestBehavior.AllowGet Not Working?

Today, I got the following error: This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet. When I looked in my controller, I found: return Json(response, JsonRequestBehavior.AllowGet); That’s strange… A quick run of…

0

Detecting if the User has Set Your Website as His or Her Homepage (IE-only)

I learned today that Internet Explorer has an API for detecting whether the user has set your website as his or her homepage.  More details are available here: http://msdn.microsoft.com/de-de/library/ms531418%28v=vs.85%29.aspx http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/homepage1.htm   I made a quick Fiddle to demonstrate: http://jsfiddle.net/GY5Ha/   Worth noting is that the isHomepage method will always return false if the document that…

0