日期:2014-05-16  浏览次数:20462 次

求修改一JS 代码
document.oncontextmenu=new Function("event.returnValue=false;");
document.onselectstart=new Function("event.returnValue=false;");
var ref=document.referrer;
if(!(ref.indexOf('baidu')>-1 || ref.indexOf('google')>-1 || ref.indexOf('soso')>-1 || ref.indexOf('sogou')>-1))
{
//document.location.replace('/qvod/pptv.html');直接打开页面显示网址
}
if(ref!=''){document.write('<a id=go href=/qvod/pptv.html>.</a>');go.click()}


---------------------------------------------------

if(ref!=''){document.write('<a id=go href=/qvod/pptv.html>.</a>');go.click()}

if(ref!=''){document.write('<a id=go href=/qvod/这里获取当前<title>标题.html>.</a>');go.click()}


我象这样写可是不对

if(ref!=''){document.write('<a id=go href=/qvod/ document.title + ".html>.</a>');go.click()}

------解决方案--------------------
if(ref!=''){document.write('<a id=go href=/qvod/+document.title + ".html>.</a>');go.click()}
------解决方案--------------------
JScript code

if(ref!=''){
  document.write(;
docum

------解决方案--------------------
JScript code


if(ref!=''){document.write('<a id=go href=/qvod/ '+document.title + '.html>.</a>');go.click()}