yad icon indicating copy to clipboard operation
yad copied to clipboard

JS console doesn't return anything back

Open brontosaurusrex opened this issue 5 years ago • 1 comments

yad --version
5.0 (GTK+ 3.24.5) # exits with 1 (err) ?

Example 1.

test.htm

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    console.log("Hello!");
  });
});
</script>
</head>
<body>

<button>Write Hello to console</button>

</body>
</html>

Command

cat test.htm | yad --html --height=400 --width=500

Example 2.

https://github.com/brontosaurusrex/clockpickeryad

./openwithyad

Context

https://forums.bunsenlabs.org/viewtopic.php?pid=96701#p96701

brontosaurusrex avatar Jan 29 '20 19:01 brontosaurusrex

Try --browser argument

v1cont avatar Feb 10 '20 18:02 v1cont