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:
8
options.js
Normal file
8
options.js
Normal 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);
|
||||
})
|
||||
});
|
Reference in New Issue
Block a user