Auto-deploy: 2026-05-26 14:00:23

This commit is contained in:
Hamza-Ayed
2026-05-26 14:00:23 +03:00
parent e9c3d222fd
commit 3e470e4c06
6 changed files with 48 additions and 167 deletions

View File

@@ -935,10 +935,11 @@ Brief honest assessment of this opportunity for my profile`
function getSettings() {
return new Promise(resolve => {
chrome.storage.sync.get(['apiKey', 'userProfile', 'language'], (data) => {
if (data.userProfile && (data.userProfile.includes('hamzaayed@intaleqapp.com') || data.userProfile.includes('hamzaayedflutter@gmail.com'))) {
if (data.userProfile && (data.userProfile.includes('hamzaayed@intaleqapp.com') || data.userProfile.includes('hamzaayedflutter@gmail.com') || data.userProfile.includes('hamzaayed@tripz-egypt.com'))) {
data.userProfile = data.userProfile
.replace(/hamzaayed@intaleqapp\.com/g, 'hamzaayed@tripz-egypt.com')
.replace(/hamzaayedflutter@gmail\.com/g, 'hamzaayed@tripz-egypt.com');
.replace(/hamzaayed@intaleqapp\.com/g, 'hamzaayedpython@gmail.com')
.replace(/hamzaayedflutter@gmail\.com/g, 'hamzaayedpython@gmail.com')
.replace(/hamzaayed@tripz-egypt\.com/g, 'hamzaayedpython@gmail.com');
chrome.storage.sync.set({ userProfile: data.userProfile });
}
resolve(data);