Patch the Web\Mobile class