Browse Source

interim version number for dev build

pull/2/head
gorhill 10 years ago
parent
commit
f3c5815848
  1. 2
      platform/chromium/manifest.json
  2. 6
      src/js/pagestats.js

2
platform/chromium/manifest.json

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "uMatrix", "name": "uMatrix",
"short_name": "uMatrix", "short_name": "uMatrix",
"version": "0.9.0.1",
"version": "0.9.0.2",
"description": "__MSG_extShortDesc__", "description": "__MSG_extShortDesc__",
"icons": { "icons": {
"16": "img/icon_16.png", "16": "img/icon_16.png",

6
src/js/pagestats.js

@ -32,6 +32,8 @@ To record distinct net requests
µMatrix.PageRequestStats = (function() { µMatrix.PageRequestStats = (function() {
'use strict';
/******************************************************************************/ /******************************************************************************/
// Caching useful global vars // Caching useful global vars
@ -222,8 +224,8 @@ var makeRequestKey = function(uri, reqType) {
var hint = 0x811c9dc5; var hint = 0x811c9dc5;
var i = uri.length; var i = uri.length;
while ( i-- ) { while ( i-- ) {
hint ^= uri.charCodeAt(i);
hint += (hint<<1) + (hint<<4) + (hint<<7) + (hint<<8) + (hint<<24);
hint ^= uri.charCodeAt(i) | 0;
hint += (hint<<1) + (hint<<4) + (hint<<7) + (hint<<8) + (hint<<24) | 0;
hint >>>= 0; hint >>>= 0;
} }
var key = typeToCode[reqType] || 'z'; var key = typeToCode[reqType] || 'z';

Loading…
Cancel
Save