Skip to content

Instantly share code, notes, and snippets.

@wictorwilen
Created January 21, 2015 12:42
Show Gist options
  • Save wictorwilen/08a9c1936cd2a59342dc to your computer and use it in GitHub Desktop.
Save wictorwilen/08a9c1936cd2a59342dc to your computer and use it in GitHub Desktop.
Show the current confgured Alternate CSS Url
// Copy and paste this into the Console window in any browser debugging tool to show the Alternate CSS for a site
var context = SP.ClientContext.get_current()
var web = context.get_web()
context.load(web)
context.executeQueryAsync(
function(){
alert('Value is: ' + web.get_alternateCssUrl())
},
function() {
alert('Error')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment