Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature bots yaml #33

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

madrowski-sg
Copy link

Hi,

while using your extension for a client, we had a feature request to add more Bot patterns to the regex, for example the ones from the official matomo List (https://raw.githubusercontent.com/matomo-org/device-detector/master/regexes/bots.yml)

This PR the Bot.yaml and a script to create a single usable Regex String (see Scripts/README.md), which will be used like the current Regex string. Thus the performance inpact is kept to a minimum (< 1.2ms in testing).

@urbantrout
Copy link
Owner

I don't see this as part of this extension. I would rather prefer a hook in which you can execute a script and return a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants