css - jQuery – enable/disable all style sheets on page on click -


is possible detect style sheets on current page click of ‘disable/enable css’ button , disable them on first click none of styling applies, , restore them once again on second click? idea jquery like, if it’s possible?

$('link[rel="stylesheet"]').attr('disabled', 'disabled'); 

this should disable of them, opposite renable them:

$('link[rel="stylesheet"]').removeattr('disabled'); 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -