直接在编辑器文本状态下,输入如下代码即可
<script language="javascript"> document.location= "http://www.loyolife.com/"; </script>