fix href check

I think its smarter to check if its not undefined. I dont know if its standard to be `about:blank`