diff --git a/envjs/html.js b/envjs/html.js
index 1c1b2784..544c2c3b 100644
--- a/envjs/html.js
+++ b/envjs/html.js
@@ -1802,7 +1802,7 @@ __extend__(HTMLAnchorElement.prototype, {
},
get href() {
var link = this.getAttribute('href');
- if (!link) {
+ if (!link || link === '#' || link === 'javascript:void(0);') {
return '';
}
return Envjs.uri(link, this.ownerDocument.location.toString());