Closed marreitin closed 1 year ago
Name | Link |
---|---|
Latest commit | 49e74ad1754b5004efcc3e83647999813adc5ed2 |
Latest deploy log | https://app.netlify.com/sites/nainish-startpage/deploys/64d497fa238edf0008b63644 |
Deploy Preview | https://deploy-preview-91--nainish-startpage.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks for contributing !
Hi everyone, I've recently switched to using this startpage in my daily-driver setup since I really love the design. However I was used from an earlier startpage I made that I could as well perform searches as well as directly enter URLs on my startpage, and wanted to give something back to the community instead of keeping the changes to myself. For now I only changed the templates, I don't really know how the generation of all the other variants is being handled.
The code I use uses two regexes to look if the entered query either matches a URL or an IP, and if so, redirects to the entered address. Otherwise it redirects normally to a search engine.
PS: I am no js-Developer, so I'm really welcoming any improvements to the code or regex used to match IPs and URLs.