What html tags are not affected by same origin policy? -
i have read this page same origin policy regarding script
tag. situation is: have 2 domain manage (host differently) , need share (actually lot) resources (particularly js, css , media). ask whether following tags affected or not affected if source domain:
<script> <img> <audio> <link rel="stylesheet"> (possibly <video>)
from page linked above, seems can wrote html domain b can have <script>
tags directly link domain a, cannot css. correct? must copy css file of domain domain b if want use them?
you can include external css same way include js !
do in head section:
<link rel="stylesheet" type="text/css" href="your_file_name.css">
Comments
Post a Comment