弹出广告特效(一个IP只弹出一次)的代码。例子: var cookieString = new String(document.cookie) var cookieHeader = 'happy_pop=' //更换happy_pop为任意名称 var beginPosition = cookieString.indexOf(cookieHeader) if (beginPosition 【阅读全文】
获取网页源代码的方法有很多,本文为大家介绍下使用JS是如何做到的。代码: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>远程网页源代码读取...【阅读全文】