Skip to content

Commit

Permalink
Preparation for 3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
maripo committed Aug 28, 2018
1 parent 01e5830 commit e433ca1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
2 changes: 2 additions & 0 deletions extension/pref/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ <h3>
<div class="bottom_button_container">
<input type="button" value="Save" class="uiButton"
id="rule_editor_save_button" />
<div style="display:none">
<input type="checkbox" id="rule_editor_save_merge_checkbox" />merge
</div>
</div>
</div>
<div id="ruleListContainer">
Expand Down
13 changes: 6 additions & 7 deletions extension/src/contentscript.js

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

11 changes: 5 additions & 6 deletions ts/src/contentscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ class BackgroundCommunicator {
}
}
execInit (request) {
cbStorage.loadAll(function(allRules:[Rule]){
if (window.customBlockerInitDone) return;
window.customBlockerInitDone = true;
rules = new Array();
RuleExecutor.checkRules(allRules);
});
let allRules = request.rules;
if (window.customBlockerInitDone) return;
window.customBlockerInitDone = true;
rules = new Array();
RuleExecutor.checkRules(allRules);
}

execHighlight (request) {
Expand Down
1 change: 0 additions & 1 deletion ts/src/db/DbObj.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ class DbColumn {
version:any;
properties:any;

// TODO replace with enum
static readonly TYPE_PKEY = 1;
static readonly TYPE_INTEGER = 2;
static readonly TYPE_TEXT = 3;
Expand Down

1 comment on commit e433ca1

@IMS-Studio
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this update I am looking forward to this would be amazing. If there any help or anything such as documentation or code itself let me know. Also, the auto refresh for assigned domains that rule is given for would solve the problem that a lot of sites when first visited do not fire so one quick forced refresh would solve this.

Sincerely,
Kevin

Please sign in to comment.