browser
browser copied to clipboard
Do some browser detection with Ruby. Includes ActionController integration.
### Changes: - Fix rubocop issues
Just saw the 6.0.0 release -- nice, thanks! Curious about this ruby version req change - https://github.com/fnando/browser/commit/e54203b13995b4cc6199b521e430427a95ab4579#diff-53ec28e04e87eace119c08cf1afa508aa03532493a9e256ed8ddcd2fd0c72423R15 - I think ruby 3.0 was recently EOL'd but ruby 3.1 is still...
Here's a patch that excludes files under test directory from the gem package. With this patch, the gem package size shrinks as follows: ``` before: 57856 bytes after: 34304 bytes...
Hi @fnando 👋, Thank you for maintaining this amazing gem! I need to add Botify bot to the list of supported bots to avoid doing a manual check in my...
Following https://github.com/fnando/browser/issues/553, I think it would make sense to add: - `Mozilla/5.0 (compatible; Google-InspectionTool/1.0;)` and - `Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) [Chrome/W.X.Y.Z]` to the...
Hello I'm creating this issue to evaluate the possibility of whiteflagging some devices from the known bot matcher verification. Essentially what is happening in the [ lib/browser/bot/known_bots_matcher.rb](https://github.com/fnando/browser/blob/main/lib/browser/bot/known_bots_matcher.rb) class is that...
A real `User-Agent` header I've encountered in an appplication: ``` Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML,...
Master showing old version of the file
## Description When requesting a desktop site with this MR, it is now detect to be iOS. https://github.com/fnando/browser/pull/548 However, the version of iOS cannot be detected from the user agent....