Browse Source

Firefox: implement toolbar button and popup

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

4
platform/firefox/vapi-client.js

@ -19,6 +19,8 @@
Home: https://github.com/gorhill/uBlock Home: https://github.com/gorhill/uBlock
*/ */
/* global addMessageListener, removeMessageListener, sendAsyncMessage */
// For non background pages // For non background pages
/******************************************************************************/ /******************************************************************************/
@ -74,7 +76,7 @@ var messagingConnector = function(response) {
/******************************************************************************/ /******************************************************************************/
var uniqueId = function() { var uniqueId = function() {
return parseInt(Math.random() * 1e10, 10).toString(36);
return Math.random().toString(36).slice(2);
}; };
/******************************************************************************/ /******************************************************************************/

Loading…
Cancel
Save