Automatically remove url prefixes from LibKey.io search box entries
Some users may try to paste full DOI URLs into the LibKey.io search box. Currently these are flagged as Invalid Inputs and must be manually edited to become valid.
Would it be possible to use javascript or some other mechanism to remove URL prefixes when something is pasted into the search? For example, it could truncate the entry to automatically get rid of:
https://doi.org/
http://doi.org/
https://dx.doi.org/
http://dx.doi.org/
1
vote
