-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5da67c6
commit f2722d9
Showing
4 changed files
with
132 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
var { | ||
Cc, Ci, Cu | ||
Cc, | ||
Ci, | ||
Cu | ||
} = require("chrome"); | ||
|
||
exports.initMemoryReporterManager = function () { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,86 @@ | ||
{ | ||
"name": "tab-data-addon", | ||
"title": "Tab Data", | ||
"id": "jid1-4ogjq7MUzAiCOw@jetpack", | ||
"description": "Provides user with tab related stats/data", | ||
"author": "Robert Byrne", | ||
"license": "GNU GPL v3", | ||
"version": "0.5.8", | ||
"main": "lib/main.js", | ||
"permissions": { | ||
"private-browsing": true | ||
}, | ||
"preferences": [ | ||
{ | ||
"name": "memoryInterval", | ||
"title": "How many seconds between memory data collection?", | ||
"type": "string", | ||
"value": "10" | ||
}, | ||
{ | ||
"name": "memoryTracking", | ||
"title": "Enable memory usage tracking?", | ||
"type": "bool", | ||
"value": true | ||
}, | ||
{ | ||
"name": "memoryUsageOnTabTitles", | ||
"title": "Show memory usage in tab titles?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [ | ||
{ | ||
"value": "0", | ||
"label": "Prepend" | ||
}, | ||
{ | ||
"value": "1", | ||
"label": "Append" | ||
}, | ||
{ | ||
"value": "2", | ||
"label": "Disable" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "memoryFormat", | ||
"title": "Format of memory usage on panel?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [ | ||
{ | ||
"value": "0", | ||
"label": "JSON" | ||
}, | ||
{ | ||
"value": "1", | ||
"label": "Plain" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "memoryUrlInUsage", | ||
"title": "Show Url on memory usage panel?", | ||
"type": "bool", | ||
"value": true | ||
}, | ||
{ | ||
"name": "memoryCautionThreshold", | ||
"title": "Memory caution threshold? (In megabytes)?", | ||
"type": "string", | ||
"value": "20" | ||
}, | ||
{ | ||
"name": "panelWidth", | ||
"title": "Width of Panel UI", | ||
"type": "string", | ||
"value": "525" | ||
}, | ||
{ | ||
"name": "panelHeight", | ||
"title": "Height of Panel UI", | ||
"type": "string", | ||
"value": "525" | ||
}, | ||
{ | ||
"name": "graphType", | ||
"title": "Graph type?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [ | ||
{ | ||
"value": "0", | ||
"label": "Line" | ||
}, | ||
{ | ||
"value": "1", | ||
"label": "Bar" | ||
}, | ||
{ | ||
"value": "2", | ||
"label": "Radar" | ||
} | ||
] | ||
} | ||
] | ||
"name": "tab-data-addon", | ||
"title": "Tab Data", | ||
"id": "jid1-4ogjq7MUzAiCOw@jetpack", | ||
"description": "Provides user with tab related stats/data", | ||
"author": "Robert Byrne", | ||
"license": "GNU GPL v3", | ||
"version": "0.5.8", | ||
"main": "lib/main.js", | ||
"permissions": { | ||
"private-browsing": true | ||
}, | ||
"preferences": [{ | ||
"name": "memoryInterval", | ||
"title": "How many seconds between memory data collection?", | ||
"type": "string", | ||
"value": "10" | ||
}, { | ||
"name": "memoryTracking", | ||
"title": "Enable memory usage tracking?", | ||
"type": "bool", | ||
"value": true | ||
}, { | ||
"name": "memoryUsageOnTabTitles", | ||
"title": "Show memory usage in tab titles?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [{ | ||
"value": "0", | ||
"label": "Prepend" | ||
}, { | ||
"value": "1", | ||
"label": "Append" | ||
}, { | ||
"value": "2", | ||
"label": "Disable" | ||
}] | ||
}, { | ||
"name": "memoryFormat", | ||
"title": "Format of memory usage on panel?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [{ | ||
"value": "0", | ||
"label": "JSON" | ||
}, { | ||
"value": "1", | ||
"label": "Plain" | ||
}] | ||
}, { | ||
"name": "memoryUrlInUsage", | ||
"title": "Show Url on memory usage panel?", | ||
"type": "bool", | ||
"value": true | ||
}, { | ||
"name": "memoryCautionThreshold", | ||
"title": "Memory caution threshold? (In megabytes)?", | ||
"type": "string", | ||
"value": "20" | ||
}, { | ||
"name": "panelWidth", | ||
"title": "Width of Panel UI", | ||
"type": "string", | ||
"value": "525" | ||
}, { | ||
"name": "panelHeight", | ||
"title": "Height of Panel UI", | ||
"type": "string", | ||
"value": "525" | ||
}, { | ||
"name": "graphType", | ||
"title": "Graph type?", | ||
"type": "menulist", | ||
"value": 0, | ||
"options": [{ | ||
"value": "0", | ||
"label": "Line" | ||
}, { | ||
"value": "1", | ||
"label": "Bar" | ||
}, { | ||
"value": "2", | ||
"label": "Radar" | ||
}] | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"name": "tab-data-firefox", | ||
"version": "0.5.8", | ||
"homepage": "https://github.com/bobbyrne01/tab-data-firefox", | ||
"authors": [ | ||
"Robert Byrne" | ||
], | ||
"description": "Firefox addon providing user with tab related stats/data", | ||
"main": "addon/lib/main.js", | ||
"keywords": [ | ||
"firefox", | ||
"tab", | ||
"memory", | ||
"count" | ||
], | ||
"license": "GNU GPL v3", | ||
"private": true, | ||
"dependencies": { | ||
"Chart.js": "~1.0.1" | ||
} | ||
"name": "tab-data-firefox", | ||
"version": "0.5.8", | ||
"homepage": "https://github.com/bobbyrne01/tab-data-firefox", | ||
"authors": [ | ||
"Robert Byrne" | ||
], | ||
"description": "Firefox addon providing user with tab related stats/data", | ||
"main": "addon/lib/main.js", | ||
"keywords": [ | ||
"firefox", | ||
"tab", | ||
"memory", | ||
"count" | ||
], | ||
"license": "GNU GPL v3", | ||
"private": true, | ||
"dependencies": { | ||
"Chart.js": "~1.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"name": "tab-data-firefox", | ||
"version": "0.5.8", | ||
"description": "Firefox addon providing user with tab related stats/data", | ||
"main": "addon/lib/main.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bobbyrne01/tab-data-firefox.git" | ||
}, | ||
"author": "Robert Byrne", | ||
"license": "GNU GPL v3", | ||
"bugs": { | ||
"url": "https://github.com/bobbyrne01/tab-data-firefox/issues" | ||
}, | ||
"homepage": "https://github.com/bobbyrne01/tab-data-firefox", | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-csslint": "^0.5.0", | ||
"grunt-contrib-jshint": "^0.11.0", | ||
"grunt-html": "^5.0.0", | ||
"grunt-jsbeautifier": "^0.2.7", | ||
"grunt-notify": "^0.4.1", | ||
"grunt-release": "^0.13.0" | ||
} | ||
"name": "tab-data-firefox", | ||
"version": "0.5.8", | ||
"description": "Firefox addon providing user with tab related stats/data", | ||
"main": "addon/lib/main.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bobbyrne01/tab-data-firefox.git" | ||
}, | ||
"author": "Robert Byrne", | ||
"license": "GNU GPL v3", | ||
"bugs": { | ||
"url": "https://github.com/bobbyrne01/tab-data-firefox/issues" | ||
}, | ||
"homepage": "https://github.com/bobbyrne01/tab-data-firefox", | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-csslint": "^0.5.0", | ||
"grunt-contrib-jshint": "^0.11.0", | ||
"grunt-html": "^5.0.0", | ||
"grunt-jsbeautifier": "^0.2.7", | ||
"grunt-notify": "^0.4.1", | ||
"grunt-release": "^0.13.0" | ||
} | ||
} |