If you want to open urls in tabs instead of windows, see article at https://robot.lk/viewtopic.php?f=74&t=1286
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Free URL Opener</title>
<!-- Written by Neo @ ROBOT.LK 2010 -->
<script type="text/javascript">
<!--
function OpenURL(txid) {
var lines;
var TA = document.getElementById(txid).value;
if(document.all) { // IE
lines = TA.split("\r\n");
}
else { //Mozilla
lines = TA.split("\n");
}
for(var i=0; i<lines.length; i++) {
window.open(lines[i], 'example' + i);
}
}
-->
</script>
</head>
<body>
<table width="400" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td><strong>Free URL Opener</strong></td>
</tr>
</table>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td>
<form>
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td>URL List</td>
<td>:</td>
<td><textarea name="urls" cols="50" rows="10" id="urls"></textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="button" value="Open" onclick="OpenURL('urls')" /><input type="reset" name="Submit2" value="Reset"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>