Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Empty file modified README.mdown
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion chrome/background.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
to: 'http://127.0.0.1:9104/',
script: 'on',
stylesheet: 'on',
font: 'on',
document: 'on'
}
];
Expand Down Expand Up @@ -44,7 +45,7 @@
if (!json) {
return [];
}

return JSON.parse(json).filter(function(route) {
return !route._disabled;
}).map(function(route) {
Expand Down
2 changes: 1 addition & 1 deletion chrome/devtools.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@
addedCSS = '';
getAllResources();
});
</script>
</script>
Empty file modified chrome/icon_128.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified chrome/icon_16.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified chrome/icon_48.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified chrome/manifest.json
100644 → 100755
Empty file.
Empty file modified chrome/options.css
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions chrome/options.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h1>DevTools Autosave</h1>
<form id=rules></form>
<div class=center><button id=add_row class=button>Add rule</button></div>
<fieldset class=rule id=dummy_rule>
<input type=hidden name=font value=on/>
<div class=row>
<h3>Resource</h3>
<p>
Expand Down
16 changes: 10 additions & 6 deletions chrome/options.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,16 @@ window.onload = function() {
return;
}
var input = clone.querySelector('[name="' + name + '"]');
if (input.tagName == 'button') {
input.textContent = rule[name];
} else if (input.type == 'checkbox') {
input.checked = !!rule[name];
} else {
input.value = rule[name];
if(input){
if (input.tagName == 'button') {
input.textContent = rule[name];
} else if (input.type == 'checkbox') {
input.checked = !!rule[name];
} else {
input.value = rule[name];
}
}else{
console.log('depreciated option not found.')
}
});
rulesElem.appendChild(clone);
Expand Down
Empty file modified example/head-link-and-style.html
100644 → 100755
Empty file.
Empty file modified example/import.html
100644 → 100755
Empty file.
Empty file modified example/index.html
100644 → 100755
Empty file.
Empty file modified example/main.js
100644 → 100755
Empty file.
Empty file modified example/style.css
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions node_modules/.bin/autosave

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

24 changes: 24 additions & 0 deletions node_modules/autosave/bin/autosave

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

114 changes: 114 additions & 0 deletions node_modules/autosave/index.js

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

4 changes: 4 additions & 0 deletions node_modules/autosave/node_modules/commander/.npmignore

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

4 changes: 4 additions & 0 deletions node_modules/autosave/node_modules/commander/.travis.yml

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

99 changes: 99 additions & 0 deletions node_modules/autosave/node_modules/commander/History.md

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

7 changes: 7 additions & 0 deletions node_modules/autosave/node_modules/commander/Makefile

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

Loading