O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing JavaScript in SharePoint Master Pages

During one of my presentations, when I was demonstrating how to use JavaScript to toggle the ribbon display on anonymous SharePoint sites, someone asked how to manage JavaScript where an organization, or user, has blocked JavaScript in the browser. This prompted further investigation into how you can elegantly manage those situations. After all, it’s impossible to control how users configure their browsers, so you need to ensure that you add some additional logic to the master page to manage that.

Users and organizations sometimes disable JavaScript in browsers because of the risk of attack. For instance, if you disable Active Scripting in the Internet Explorer security settings, shown in Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required