intents are the best way indeed.
Here you have buttons with working intents for the apps I use.
Spotify
Netflix
Videoland
NLziet
DSvideo
DSphoto
Tune In
Juke
Google home
Youtube
Chrome
buttons = {}
buttons.youtube = {
width:6,
icon:'fab fa-youtube',
title: 'Youtube',
newwindow: 0,
url ...