You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to custom URL, it would be nice to have an option to auto assign the label according to specific urls/domains.
The format can be something like: regexp||label (or anything that can be easy to processed without confusing the user)
I looked into the code and this can be done in webRequest.onBeforeRequest before addTorrent is called.
One limitation is that originally I was planning to match the regular expressions with the origin url (instead of the torrent url). However when the extension accept the magnet address via https://torrent-control.invalid/, the origin url info is lost.
So the regular expression can only be matched to the magnet address, though not ideal but may still be useful.
I have a working local copy but I don't think my amateur code is ready for pull request.
The text was updated successfully, but these errors were encountered:
Similar to custom URL, it would be nice to have an option to auto assign the label according to specific urls/domains.
The format can be something like: regexp||label (or anything that can be easy to processed without confusing the user)
I looked into the code and this can be done in webRequest.onBeforeRequest before addTorrent is called.
One limitation is that originally I was planning to match the regular expressions with the origin url (instead of the torrent url). However when the extension accept the magnet address via https://torrent-control.invalid/, the origin url info is lost.
So the regular expression can only be matched to the magnet address, though not ideal but may still be useful.
I have a working local copy but I don't think my amateur code is ready for pull request.
The text was updated successfully, but these errors were encountered: