qutebrowser/tests/end2end/data/paste_primary.html

26 lines
852 B
HTML
Raw Normal View History

2016-01-30 13:57:26 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Paste primary selection</title>
<script type="text/javascript">
function setup_event_listener() {
var textarea = document.getElementById('qute-textarea');
textarea.addEventListener('input', function() {
console.log("textarea contents: " + textarea.value);
});
}
function set_text(value) {
var textarea = document.getElementById('qute-textarea');
textarea.value = value;
console.log("textarea set to: " + value);
}
</script>
2016-01-30 13:57:26 +01:00
</head>
<body onload="setup_event_listener()">
2016-01-30 13:57:26 +01:00
<textarea id="qute-textarea"></textarea>
2016-01-31 22:08:46 +01:00
<textarea id="qute-textarea-noedit" readonly></textarea>
2016-01-30 13:57:26 +01:00
</body>
</html>