I've got a site where the platform that the HTML and CSS is built upon is on complete lock down. I get zero access to the application/server layer.
There are a few CSS files that get served by the platform and I've stripped them out with a little jquery
$(document).ready(function() {
$('link[rel=stylesheet][href*="UserGlobal"]').remove();
});
While this does work and prevents the "UserGlobal" stylesheet from having any impact on my page presentation it does still get loaded.
My question is, in the absence of access to the application layer/server side of things is there a way to prevent a CSS file from being delivered to the browser in the first place?
My gut tells me no - but I'd be interested in hearing if anyone has come across something similar and solved it.