Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
To make it work with Zooomr Mark III (there is no longer a textfield containing the image URL) change the code to this:
//allInputs = document.evaluate("//input[@name='textfield']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
//inputArea = allInputs.snapshotItem(0);
//imageLink = inputArea.getAttribute("value");
imageLink = textAreaValue.substring(textAreaValue.indexOf('img src="')+9, textAreaValue.indexOf('.jpg')+4)
|