D
Dr J R Stockton
My public Home Page contains (URL shortened) :
<script type="text/javascript" src="http://www.<etc.>"></script>
I would like to prevent any src being fetched when the page is viewed
locally as file:///?:/???/index.htm , to have it fetched and used when
viewed as http://www.merlyn.demon.co.uk/index.htm , and I don't much
care what happens if someone takes a copy of the page and views that.
When viewing from file, I don't mind what that part displays, provided
it is small and the rest of the page is not affected.
I know how to detect, in JavaScript, whether I want that src fetched.
Any suggestions, preferably tested ones?
<script type="text/javascript" src="http://www.<etc.>"></script>
I would like to prevent any src being fetched when the page is viewed
locally as file:///?:/???/index.htm , to have it fetched and used when
viewed as http://www.merlyn.demon.co.uk/index.htm , and I don't much
care what happens if someone takes a copy of the page and views that.
When viewing from file, I don't mind what that part displays, provided
it is small and the rest of the page is not affected.
I know how to detect, in JavaScript, whether I want that src fetched.
Any suggestions, preferably tested ones?