Is This Possible?
I'm trying to block/disable some JS code (e.g., adsense) in the android webview and ios UIwebview of my forum. Currently the only solution is to hide the JS code on mobile version using the pockets plugin.
What I'm trying to do is have the JS code only show when the mobile browser used. I don't want the JS code to show in the app versions.
Does this involve using user agents?
Another option if possible, is to use a subdomain, m.domain.com that uses the same database as the main site but uses it's own Vanilla dashboard.
So the main forum folder and mobile forum folder in the html folder. This will most likely not work.