Skip to content

Commit

Permalink
Merge pull request #4 from Stephenito/master
Browse files Browse the repository at this point in the history
Base version
  • Loading branch information
cannarocks authored Sep 28, 2020
2 parents 8e8d697 + dcbbde7 commit 37b123c
Show file tree
Hide file tree
Showing 29 changed files with 1,201 additions and 102 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# chrome-crowdy
Chrome extension useful to collect debug info during functional tests.
#Chrome-crowdy

Chrome-crowdy is an extension useful to record debug information about a site.

It tracks the following data:
- clicks;
- errors;
- storage;
- cookies;
- console logs;
- all browser extensions installed.

For more detailed information about the data tracked, see "json.txt" in "popup" folder.

# Usage

To use it, download it from the store (when it will be available), click on the browser action and click "Start recording". When you're done, click "Stop recording", and you can choose to print the .json file or not.
There are 2 other useful buttons in the browser action popup:
- "Show JSON pattern", which prints "json.txt";
- "Show actually recorded data", which lets you know which information has already been caught. There are also some options that let you filter the data.

Enjoy!

This extesion works on the following browsers:
- Chrome;
- Opera.
1 change: 1 addition & 0 deletions icons/app_quality_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/bug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed icons/icon.png
Binary file not shown.
Binary file added icons/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/question.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/start_record.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/stop_record.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions lib/FileSaver.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions lib/jszip.min.js

Large diffs are not rendered by default.

36 changes: 29 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,52 @@
{
"manifest_version": 2,
"name": "Click Recorder",
"name": "Debug info Recorder",
"version": "0.1",
"description": "The extension that spies your tabs and clicks!",
"description": "Get debug info while you're surfing on the net!",
"browser_action": {
"default_icon": "icons/icon.png",
"default_title": "Recorder",
"default_popup": "popup/popup.html"
},

"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png" },

"permissions": [
"cookies",
"management",
"storage",
"unlimitedStorage",
"tabs",
"downloads"
"downloads",
"webRequest",
"debugger",
"<all_urls>"
],

"web_accessible_resources": [
"popup/json.txt"
],

"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": ["lib/jquery-3.5.1.min.js","scripts/content.js"]
"run_at": "document_start",
"js": ["scripts/utility.js", "scripts/inject.js"]
},
{
"matches": [
"<all_urls>"
],
"run_at": "document_idle",
"js": ["scripts/content.js"]
}],


"background": {
"scripts": ["scripts/background.js"],
"persistent": false
"scripts": ["scripts/utility.js", "scripts/background.js"]
}
}
16 changes: 16 additions & 0 deletions popup/iframe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Recorded JSON - iframe</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div id="list">
<h3>events:</h3><pre id="events"></pre>
<h3>starting_localStorage:</h3><pre id="starting_localStorage"></pre>
<h3>starting_cookies:</h3><pre id="starting_cookies"></pre>
<h3>extensions:</h3><pre id="extensions"></pre>
</div>
<script src="jsonActualFrame.js"></script>
</body>
<html>
Loading

0 comments on commit 37b123c

Please sign in to comment.