Browse Source

URL handling changes

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
a7f15f0b71
  1. 13
      platform/firefox/vapi-client.js

13
platform/firefox/vapi-client.js

@ -174,6 +174,19 @@ vAPI.canExecuteContentScript = function() {
/******************************************************************************/ /******************************************************************************/
vAPI.getUrlNormalizer = function() {
return {
get href() {
return this._url || '';
},
set href(url) {
this._url = _urlNormalizer_(url, document.baseURI);
}
};
};
/******************************************************************************/
})(this); })(this);
/******************************************************************************/ /******************************************************************************/
Loading…
Cancel
Save