It looks like you're new here. If you want to get involved, click one of these buttons!
We can use the
assetModel_styleCss_handler to include a "CSS file in all non-Dashboard pages" (not admin back-end pages).
Is there a similar one for including JS files? If not, what's a good way to only include JS files on the front-end?
One way I like is
if ($sender->MasterView !== 'admin').