mirror of
https://github.com/nileshtrivedi/better
synced 2025-01-01 07:57:24 +01:00
9 lines
299 B
JavaScript
9 lines
299 B
JavaScript
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);
|
|
})
|
|
});
|