Run Javascript from Middleware

I was wondering if there is any way to run/execute Javascript snippet or Javascript from the Laravel middleware ?

5 thoughts on “Run Javascript from Middleware”