Add argument to test string as browser agent
I recently had a need to test the cached browser agent from a database, and instead of rewriting what's already been done, here, I just modified the three methods isdesktop, ismobile, and isbot to accept a string, or default to the AGENT have var.
Loading
Please sign in to comment