I want to parse CSS files loaded by an HTML page, but I don't want AJAX calls to reload the loaded CSS files. Is there a way to access pages without CSS text?
For example, it will allow access to -moz- * declarations in Safari.
You can load your CSS using AJAX.
This can be done using LazyLoad :
"LazyLoad - ( 1,541 ) ), JavaScript , JavaScript CSS ".
, document.styleSheets.
AJAX? , .
:
AJAX , HTTP- , CSS, 304. ,
... , ? :
/* here is your normal css: styles.css */ body { color: black; } /* and you want to switch to red text instead... */ /* dynamically add this on page load */ body { color: red !important; }
Source: https://habr.com/ru/post/1725899/More articles:IIS 7.5 MVC 2 Problem with Error 401.3 - authorizationDisable control + Alt + Delete without changing GINA? - windowsProblem with OpenGL lighting when turning the camera - opengljavascript - get a node link to a script tag that calls a function - javascriptProgrammatically adding a command line to a user form - vbaGetting a zend view property using a helper called in a layout script - phpCommon unknown PHP security errors - securityC. Segmentation error when a function modifies a dynamically allocated array 2d - cHow can I improve a wav file using AS3? - actionscript-3Определить, в каком столбце отображается элемент управления редактирования в представлении datagridview - vb.netAll Articles