From 8db990daa3619b2077eea682a6e90bd1867fa2ea Mon Sep 17 00:00:00 2001 From: Deathamns Date: Thu, 29 Jan 2015 14:12:21 +0100 Subject: [PATCH] Firefox: get the version number from the fragment --- platform/firefox/vapi-background.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index a982043..18836a0 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -43,10 +43,9 @@ vAPI.firefox = true; /******************************************************************************/ -// TODO: read these data from somewhere... vAPI.app = { name: 'µBlock', - version: '0.8.6.0' + version: location.hash.slice(1) }; /******************************************************************************/