Message from JavaScript discussions

July 2019

— Please elaborate. Maybe this link will help you.

— 

Hey guys, on a front end app, can we manipulate basic setup of embedded YouTube videos. I am trying to achieve is to put a lock button on an embedded YouTube page, so that user click on it, an agreement popup comes and they can play the video only after they click on popup accept button

— What if you put the lock button beforehand. And you embed the YouTube video after they accept?

— I made new charts 👀

— Yeah, exactly I'm going with same approach. Thanks

— Can u example

— I havve solve it

— Guys mysql is not runing on my linux

— Anyone using linux mint here?

— How can we prevent browser default action like laod the new DOM when click a button?

— JavaScript event handlers

— const button = document.querySelector('...');
button.addEventListener('click', function (e) {
e.preventDefault();
alert('Default behavior prevented!');
});

Message permanent page