You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
819 B
HTML
30 lines
819 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
function getQueryVariable(variable) {
|
|
var query = window.location.search.substring(1);
|
|
var vars = query.split("&");
|
|
for (var i = 0; i < vars.length; i++) {
|
|
var pair = vars[i].split("=");
|
|
if (pair[0] == variable) { return pair[1]; }
|
|
}
|
|
return (false);
|
|
}
|
|
|
|
var url = decodeURIComponent(getQueryVariable('url'))
|
|
var title = decodeURIComponent(getQueryVariable('title'))
|
|
var id = getQueryVariable('id')
|
|
if (id == false) {
|
|
window.top.addMenuTab(url, title)
|
|
} else {
|
|
window.top.addMenuTab(url, title, id)
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html> |