Поисковик
Создаём!
<script&ht;
// Wait for DOM to load
document.addEventListener("DOMContentLoaded", function(event) {
// Put the button into a variable
var e = document.getElementById("go");
// Wait for user to click the button
e.addEventListener("click", function() {
// Get the URL from the user input
var url = document.getElementById("url").value;
// Do the popup window
window.open(url,"popUpWindow","height=500, width=400, left=100, top=100, resizable=yes, scrollbars=yes, toolbar=yes, menubar=no, location=no, directories=no, status=yes");
}, false);
});
</script>
<!-- Replace '{action page}' with your own action page to support non-JavaScript users -->
<form name="popupForm" action="{action page}">
<input name="url" id="url" value="https://htmlmaster228.blogspot.com/">
<input name="go" id="go" type="button" value="Go">
</form>