| Hello,
I'm downloading a site which all CSS and JavaScrips are served through a PHP
file, its called YuiCombo.php lets think:
<link rel="stylesheet" type="text/css"
href="***siteaddress***/theme/YuiCombo.php?file1.css" />
<link rel="stylesheet" type="text/css"
href="***siteaddress***/theme/YuiCombo.php?file2.css" />
etc ...
<script type="text/javascript"
src="***siteaddress***/theme/YuiCombo.php?file1.js"></script>
<script type="text/javascript"
src="***siteaddress***/theme/YuiCombo.php?file2.js"></script>
etc ...
And they are saved in 2 files in "theme" folder ("SomeFile1" for CSS and
"SomeFile2" for JS, with all CSSs and JSs together), with no extention (Type:
C source code (text/x-csrc)).
So, loading downloaded pages in chrome causes broken CSS and JS and this error
is shown in console:
[Deprecation] CSS cannot be loaded from `file:` URLs unless they end in a
`.css` file extension.
How can I overcome this error?(since CSS file extension is in query not
filename!)
Thank you. | |