hawkins / start-page

A simple start page extension for Google Chrome, which I used to teach myself web dev
https://goo.gl/95jal3
MIT License
2 stars 0 forks source link

Account for Empty / 100% Whitespace Link Names #14

Closed hawkins closed 8 years ago

hawkins commented 8 years ago

Currently, this makes a link unclickable. Need to account by displaying everything after www. or http:// etc etc.

hawkins commented 8 years ago

Actually, no; this was a mistake. Intentionally removing the contents of the new link label in the edit link form only keeps the previous name. This should instead mark the name as the link minus prefix and some suffix.

For instance:

http://www.GitHub.com/hawkins/start-page/ becomes labeled as GitHub.com/.../start-page.

Again, this should only happen when the given label is empty or entirely white space.