1
0
mirror of https://github.com/nileshtrivedi/better synced 2025-06-27 09:03:11 +02:00

options UI for external source of matchers

This commit is contained in:
Nilesh
2020-08-01 02:49:43 +05:30
parent 0e44a6e2cc
commit af891cb527
4 changed files with 56 additions and 7 deletions

8
options.js Normal file
View File

@@ -0,0 +1,8 @@
let input = document.getElementById('betterSourceText');
let submit = document.getElementById('betterSourceSubmit');
submit.addEventListener('click', function() {
chrome.storage.sync.set({betterSource: input.value}, function() {
console.log('Set betterSource = ' + input.value);
})
});