Fixed multi-job scrape, and added labels and single job scrape

This commit is contained in:
2026-07-10 00:56:26 +00:00
parent 8155b121da
commit a1399b60db
5 changed files with 680 additions and 378 deletions

View File

@@ -1,5 +1,3 @@
// settings.js - Handle secure configuration storage
document.addEventListener('DOMContentLoaded', function () {
chrome.storage.local.get(
[
@@ -19,8 +17,8 @@ document.addEventListener('DOMContentLoaded', function () {
document.getElementById('loginEmail').value = result.loginEmail;
document.getElementById('ntfyServer').value =
result.ntfyServer || 'https://notify.tstitagency.com';
if (result.ntfyTopic)
document.getElementById('ntfyTopic').value = result.ntfyTopic;
document.getElementById('ntfyTopic').value =
result.ntfyTopic || 'andela-jobs';
if (result.ntfyToken)
document.getElementById('ntfyToken').value = result.ntfyToken;
},
@@ -47,8 +45,8 @@ document.addEventListener('DOMContentLoaded', function () {
appsScriptUrl: appsScriptUrl,
appsScriptKey: appsScriptKey,
loginEmail: loginEmail,
ntfyServer: ntfyServer,
ntfyTopic: ntfyTopic,
ntfyServer: ntfyServer || 'https://notify.tstitagency.com',
ntfyTopic: ntfyTopic || 'andela-jobs',
ntfyToken: ntfyToken,
},
function () {