Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
de4db5d
Add bug reporting system for development
Nebrethar Sep 18, 2018
fbbef36
Tabs and space fixes
Nebrethar Sep 18, 2018
130780a
Merge branch 'development' into bug-report
Nebrethar Sep 19, 2018
ed69daf
Add right-click report to all contexts, remove button
Nebrethar Sep 19, 2018
9f06ed5
Fix some linterrors
Nebrethar Sep 19, 2018
3c88ec5
Load a new page on startup
Nebrethar Sep 20, 2018
edd8685
Fixed build with some errors removed
Nebrethar Sep 20, 2018
1b10e20
Migrate code from sites.js to act.js (fixed)
Nebrethar Sep 21, 2018
e96e48f
Merge branch 'master' into bug-report
Nebrethar Sep 21, 2018
89392ce
Begin on bug report page (formatting)
Nebrethar Sep 21, 2018
0275839
Add more content to site, remove innerHtml
Nebrethar Sep 21, 2018
316f28a
Merge branch 'master' into bug-report
Nebrethar Sep 21, 2018
67ce5e8
Merge pull request #24 from SociallyCompute/bug-report
Nebrethar Sep 21, 2018
882c525
Add GitHub reporting and main text
Nebrethar Sep 23, 2018
12787d8
CSS Fixes for scaling
Nebrethar Sep 24, 2018
0177334
Merge branch 'master' into development
Nebrethar Sep 24, 2018
a6a6c8a
More scaling fixes (needs cleanup)
Nebrethar Sep 24, 2018
dc58b05
Reduce size of right sidebar (Word wrap, cleanup needed)
Nebrethar Sep 25, 2018
0a70abe
Add a how-to guide, clean up css, fix scroll
Nebrethar Sep 25, 2018
94dd926
Major cleanup
Nebrethar Sep 27, 2018
3114075
Hotfixes for GitHub issue generation and textbox
Nebrethar Sep 27, 2018
3975cd1
Fix "not listed" issue category
Nebrethar Sep 27, 2018
2bf9361
Quick fix from last pr
Nebrethar Sep 27, 2018
5413cbe
Remove left bar & scaling fixes
Nebrethar Oct 1, 2018
0369f69
Fix errored brackets in html
Nebrethar Oct 3, 2018
5e6a83c
(temp) remove mocha
Nebrethar Oct 3, 2018
f4984db
Merge branch 'master' into development
Nebrethar Oct 31, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"cookies",
"storage",
"tabs",
"webNavigation"
"webNavigation",
"contextMenus"
],
"background": {
"scripts": [
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"scripts": {
"build": "npm test && web-ext build",
"lint": "eslint src/*.js && web-ext lint",
"list": "mocha --timeout 90000",
"start": "web-ext run",
"test": "npm run lint && npm run list"
"test": "npm run lint"
},
"dependencies": {
"chai": "^4.1.2",
Expand Down
255 changes: 255 additions & 0 deletions src/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
body {
background: #111;
font: 1em sans-serif;
min-width:98%;
min-height:98%;
padding-left: 2%;
padding-bottom: 0%;
margin-top:0;
display:inline-block;
}

div body #main{
margin: 0 !important;
}


img {
width:150px;
height:150px;
}

img.logo {
margin-right: 0.5em;
float: left;
}

img:not([class=logo])
{
margin-top:35px;
margin-right:20px;
float: right;
width:120px;
height:120px;
background:#ffffff;
border-radius:20px;
}

span{
width:100%;
}

p {
color: #bbb;
width:100%;
}

form input {
display:block;
}

form {
padding: 160px 20px 0 60px;
width: 410px;
}

h1 {
font: small-caps 2em sans-serif;
margin:0;
color: #bbb;
width:100%;
position:relative;
vertical-align: baseline;
top:0;
}

h2 {
color: #0260c5;
}
h3 {
color: #ffffff;
}
a {
color: #0260c5;
text-decoration: none;
text-align: right;
position: relative;
z-index: 3;
}

label, button {
display:block;
width: 100%;
border: 0;
font: small-caps 1em sans-serif;
background: #333;
margin: 2px 0;
color: #bbb;
background: #333;
cursor: pointer;
box-sizing: border-box;
padding: 0.5em 1em;
}
button {
padding: 0.9em 0.5em;
width:100px;
}
button:hover, label:hover {
background: #444;
color: #eee;
}

input[type=checkbox] {
display:inline;
}

#main #wide {
position: absolute;
float: left;
}

#main {
height:100%;
top:50px;
box-sizing: border-box;
margin: 0 0 0 0;
left:250px;
right:510px;
position:absolute;
display:inline-block;
}

#wide {
height:30%;
width:96%;
white-space: nowrap;
padding: 0 0 0 0;
z-index:1;
top:0;
background:#111;
flex:1;
}

#maintext {
float:right;
position:relative;
top:0;
bottom:0;
width:100%;
hyphens: auto;
margin:0;
}

#textcontainer {
float:left;
width:calc(100% - 40px);
top:165px;
z-index:1;
text-overflow: ellipsis;
overflow-y: hidden;
position:absolute;
}

#frillleft {
left:210px;
position: fixed !important;
width:40px;
height:100%;
top: 0;
z-index:1;
}

#frillright{
right:490px;
position: fixed !important;
background-color:#024792 !important;
width:25px;
height:100%;
top: 0;
flex:1;
z-index:1;
}


#bugsubmit {
display:block;
float:right;
margin-right:50px;
margin-top:20px;
}

#checkvalue {
margin-left:20px;
margin-top: 20px;
}

#checkvalue2 {
font-size: 1.1em;
display:inline;
}

#text {
display:none;
}

.leftnav {
background:#111;
width: 210px;
position: absolute;
z-index: 3;
top: 0;
left: 0;
flex:0;
overflow:hidden;
}

.rightnav {
top:0;
background:#111;
height:100%;
z-index: 3;
right:0;
position: fixed;
overflow-y:hidden;
}

.dark {
margin: 2em 1em 1.5em 1.5em;
color: #ffffff;
}

.formright {
margin-top:70px;
padding-right:40px;
color: #ffffff;
text-align:right;
float:right;
width: 200px;
margin-right:50px;
}

textarea {
border-radius: 5px;
width: 330px;
text-align:left;
vertical-align:top;
padding: 6px 5px 0 5px;
background:#ffffff;
}

textarea#box1 {
font-weight:bold;
height:24px;
}

textarea#box3 {
height:40px;
}

textarea#box2-2 {
height:80px;
}

textarea#box2 {
height:100px;
}
95 changes: 95 additions & 0 deletions src/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!doctype html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="about.css"/>
<script src="sites.js"></script>
</head>
<body>
<div class="leftnav scroll">
<h2 class="dark" style="font-weight:bold;">Supported<br>Domains</h2>
<p class="dark" id="container"></p>
</div>
<div id="frillleft"></div>
<div id="main">
<div id="wide">
<a href="http://www.globalconsentmanager.com">
<img src="../icon-96.png" class="logo">
</a>
<h1>Global Consent Manager</h1>
<h1>User Dashboard</h1>
<br><br>
<h1>
<a href="http://www.globalconsentmanager.com">
Learn More About Us...</a>
</h1>
</div>
<div id="textcontainer">
<div id="maintext">
<h2>Introduction</h2>
<p>This page is for the Global Consent Manager web extension. The primary purpose of this web extension is to provide users with consent management while they are on the Firefox web browser. Global Consent Manager shows businesses and consumers that a healthier consent experience is possible.<br></p>
<h2>Using Global Consent Manager</h2>
<p>Websites as according to this extension follow three categorizations:<br>
Supported<br>
Unsupported<br>
Disabled<br>
These use cases will be explained in the following section.
</p>
<h3>Supported Website</h3>
<p>If Global Consent Manager can manage a specific website’s consent dialogs, the interface will change to accommodate this. The main aspects of this interface are:<br>
The domain, which reflects the current website’s domain.<br>
Blocking indicator, which updates the user on their blocking status.<br>
Consent Switch, which the user can utilize to manually change the blocking status.<br>
</p>
<h3>Unsupported Website</h3>
<p>If Global Consent Manager does not support a specific website, it will be indicated on the interface. The user will have the opportunity to make a GitHub issue report (see “Features of Global Consent Manager – Bug Report”).</p>
<h3>Supported Website</h3>
<p>If a site begins with “about:” (such as about blank), or if it is a local page or personal file, it will be disabled in Global Consent Manager’s blocking system. These websites do not provide consent dialogs, and the extension has no function on them.</p>
<h2>Features of Global Consent Manager</h2>
<h3>The Universal Button</h3>
<p>This web extension manages its user interaction through a single button. Based on the status of a website, the button will change its function and text to accommodate the situation (see the previous section, “Using Global Consent Manager”).</p>
<h3>Automatic Unblocking</h3>
<p>Once a supported website can be considered “trustworthy”, Global Consent Manager will stop blocking this site so that he user may make their consent decision. The user may also override this by blocking the website again, and the decision will be remembered.</p>
<h3>Bug Reporting</h3>
<p>If the user is logged into GitHub and notice an unsupported site, they may click the button on Global Consent Manager’s user panel. This will automatically generate an issue on GitHub and bring the user to the submittal page, where they may choose to send the issue.</p>
<h2>Uninstalling or Disabling / Enabling the Extension</h2>
<h3>Uninstall</h3>
<p>Uninstalling Global Consent Manager is simple:<br>
1) Right click on the blue Global Consent Manager icon in the top right of the browser.<br>
2) Click “Remove Extension” in the drop-down menu.<br>
3) When prompted, click “Remove”.</p>
<h3>Disable/Enable</h3>
<p>If the user would prefer to keep Global Consent Manager and stop it from running for any length of time, they may follow these steps:<br>
1) Press the keyboard combination “Ctrl+Shift+A”<br>
2) Click “Disable” in the options for Global Consent Manager.<br>
The extension may be re-enabled at any time with the same steps.
</p>
</div>
</div>
</div>
<div id="frillr2"></div>
<div id="frillright"></div>
<div id="inner" class="rightnav">
<h2 class="formright" style="font-weight:bold;">Submit a
<br>GithHub Issue<br>(Requires Login)</h2>
<img src="icons/github.svg">
<form>
<p>Title:</p>
<textarea id="box1"></textarea>
<p>The Issue:</p>
<textarea id="box2" type="text"></textarea>
<p>Computer Specifications:</p>
<textarea id="box2-2" type="text"></textarea>
<p>Extra Information:</p>
<textarea id="box3" type="text"></textarea>
<br><br>
<input type="checkbox" id="checkvalue">
<p id="checkvalue2">
I am submitting an issue to GitHub.
</p>
<button id="bugsubmit" type="button" text="Send Issue">
Submit
</button>
</form>
</div>
<script type="text/javascript" src="act.js"></script>
</body>
Loading