English
中文(简体)
中文(繁体)
한국어
日本語
English
Português
Español
Русский
العربية
Indonesia
Deutsch
Français
ภาษาไทย
Home
Downcodes
Programming Related
Website Building Resources
Books and Tutorials
Web Design Tutorials
Network Programming Tutorials
Mobile Games
Mobile Software
Articles
Home
>
Web design tutorial
>
Javascript tutorial
JavaScript determines source URL
Author:Eve Cole
Update Time:2009-06-11 16:31:22
<script language="javascript">
if ((parent.location .href!="
http://www.knowsky.com/code/
"))
{
alert("请用
http://code.knowsky.com
查看");
parent.location.href="
http://code.knowsky.com
"
}
</script>
Related Articles
An in-depth chat about JavaScript
2022-06-27
Debugging JavaScript errors
2010-08-08
JavaScript framework comparison
2010-04-28
JavaScript Object Discussion
2009-12-12
JavaScript Object Discussion
2009-12-10
Understanding Javascript Arrays
2009-08-25
css cross site javascript
2009-06-12
How to pass parameters to JavaScript files in JavaScript
2009-06-11
javascript custom function
2009-06-11
Use JavaScript with caution with
2009-06-11
javascript pagination
2009-06-09
JavaScript slideshow effect
2009-06-08