Edit D:\chineseall_products\bak\digitalLib6\js\checksid.js
$(document).ready(function(){ var orgId = top.location.href; if(orgId.indexOf("?")<=0 || orgId.indexOf("sid")<=0) return; orgId = orgId.substring(orgId.indexOf("sid")+3); if(orgId.indexOf("&")>0) { orgId = orgId.substring(0,orgId.indexOf("&")); } if(orgId.indexOf("#")>0) { orgId = orgId.substring(0,orgId.indexOf("#")); } orgId = orgId.replace("=","").replace(" ",""); if(orgId.length==0) return; $("form").each(function(){ var link = $(this).attr("action"); if(link && link.indexOf("sid=")<0) { if(link.indexOf("?")>0) { link = link + "&sid=" + orgId; } else { link = link + "?sid=" + orgId; } $(this).attr("action",link); } }); $("a").each(function(){ var link = $(this).attr("href"); if(link && link.indexOf("sid=")<0 && link.toLowerCase().indexOf("javascript")<0 && link.toLowerCase().indexOf("mail")<0) { var tail = ""; if(link.indexOf("#")>0) { tail = link.substring(link.indexOf("#")); link = link.substring(0,link.indexOf("#")); } if(link.indexOf("?")>0) { link = link + "&sid=" + orgId; } else { link = link + "?sid=" + orgId; } link = link + tail; $(this).attr("href",link); } }); });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de