HTTrack Website Copier
Free software offline browser - FORUM
Subject: Javascript split() function
Author: Ertan
Date: 02/05/2010 11:30
 
Regarding split('/') or split("/")

I have this javascript code below, HTTrack replaces split('/') with
split(http://localhost:8080)

I searched the forum to see parsing JS cannot be flawless, but I think this
fairly common JS function might be fixed.

var filename=window.location.href.split('/').pop().split('.')[0]

 
Reply


All articles

Subject Author Date
Javascript split() function

02/05/2010 11:30




e

Created with FORUM 2.0.11