v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
687 stars 57 forks source link

JS console doesn't return anything back #66

Open brontosaurusrex opened 4 years ago

brontosaurusrex commented 4 years ago
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

v1cont commented 4 years ago

Try --browser argument