From 2e92e4a54b44b3ca3c539c1e13cebcfdad3e588a Mon Sep 17 00:00:00 2001 From: z0ccc Date: Thu, 9 Feb 2023 17:56:26 -0500 Subject: [PATCH] removed vpn page and updated urls --- package.json | 2 +- src/background/index.ts | 2 +- src/manifest.json | 2 +- src/popup/Popup.tsx | 6 +++--- src/popup/pages/locationPage/index.tsx | 10 +++++----- src/popup/pages/settingsPage/index.tsx | 14 +++++--------- src/popup/pages/vpnPage/index.tsx | 20 +++++++++++++------- 7 files changed, 29 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 1598b93..0e72a8a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vytal", - "version": "2.1.9", + "version": "10", "description": "Spoof your location data and user agent.", "license": "MIT", "repository": { diff --git a/src/background/index.ts b/src/background/index.ts index 4b28fa2..08df073 100644 --- a/src/background/index.ts +++ b/src/background/index.ts @@ -21,4 +21,4 @@ chrome.tabs.onUpdated.addListener((tabId) => { attachTab(tabId) }) -chrome.runtime.setUninstallURL('https://vytal.io/#/vpns') \ No newline at end of file +chrome.runtime.setUninstallURL('https://vytal.io/scan') diff --git a/src/manifest.json b/src/manifest.json index 9b69ccf..62d7350 100755 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 3, - "version": "2.1.9", + "version": "2.1.10", "name": "__MSG_extName__", "description": "__MSG_extDesc__", "author": "__MSG_extName__", diff --git a/src/popup/Popup.tsx b/src/popup/Popup.tsx index 91606ea..649f78a 100644 --- a/src/popup/Popup.tsx +++ b/src/popup/Popup.tsx @@ -58,11 +58,11 @@ const Popup = () => { active={tab === 'userAgent'} onClick={() => setTab('userAgent')} /> - } active={tab === 'vpn'} onClick={() => setTab('vpn')} - /> + /> */} {/* } active={tab === 'settings'} @@ -77,7 +77,7 @@ const Popup = () => { - + {/* */} diff --git a/src/popup/pages/locationPage/index.tsx b/src/popup/pages/locationPage/index.tsx index dd2de5b..92c2640 100644 --- a/src/popup/pages/locationPage/index.tsx +++ b/src/popup/pages/locationPage/index.tsx @@ -9,7 +9,7 @@ import configurations from 'utils/configurations' import getIp from 'utils/getIp' import { ipData } from 'types' import { RotateCw } from 'react-feather' -import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill"; +import { polyfillCountryFlagEmojis } from 'country-flag-emoji-polyfill' interface LocationPageProps { tab: string @@ -26,7 +26,7 @@ const LocationPage = ({ tab, setTab }: LocationPageProps) => { const [lon, setLongitude] = useState('') const [configuration, setConfiguration] = useState('custom') - polyfillCountryFlagEmojis(); + polyfillCountryFlagEmojis() const reloadIp = useCallback(() => { setIpInfo('loading...') @@ -257,11 +257,11 @@ const LocationPage = ({ tab, setTab }: LocationPageProps) => { }} > Vytal does not change your IP address. To change your IP address you - will need a{' '} - - . + . */} ) diff --git a/src/popup/pages/settingsPage/index.tsx b/src/popup/pages/settingsPage/index.tsx index 9fe991b..d71be28 100644 --- a/src/popup/pages/settingsPage/index.tsx +++ b/src/popup/pages/settingsPage/index.tsx @@ -28,11 +28,11 @@ const SettingsPage = ({ tab, setTab }: SettingsPageProps) => { Vytal does not change your IP address. To change your IP address you - will need a{' '} - - . + . */} {/* Vytal utilizes the debugger API to spoof data which is completely @@ -48,7 +48,7 @@ const SettingsPage = ({ tab, setTab }: SettingsPageProps) => { */} You can test and compare Vytal and other spoofing extensions on{' '} - + vytal.io . @@ -63,11 +63,7 @@ const SettingsPage = ({ tab, setTab }: SettingsPageProps) => { rate the extension {' '} or{' '} - + donate . diff --git a/src/popup/pages/vpnPage/index.tsx b/src/popup/pages/vpnPage/index.tsx index 49ac157..52a97c5 100644 --- a/src/popup/pages/vpnPage/index.tsx +++ b/src/popup/pages/vpnPage/index.tsx @@ -1,8 +1,8 @@ -import { Box, Image } from 'theme-ui' +import { Box } from 'theme-ui' import Page from 'popup/components/Page' import VpnItem from './VpnItem' -import nordLogo from 'assets/nord.svg' -import protonLogo from 'assets/surfShark.svg' +// import nordLogo from 'assets/nord.svg' +// import surfSharkLogo from 'assets/surfShark.svg' interface VpnPageProps { tab: string @@ -11,14 +11,20 @@ interface VpnPageProps { const VpnPage = ({ tab }: VpnPageProps) => { return ( - - NordVPN logo + + {/* NordVPN logo */}
  • Verified zero-logs policy & no IP leaks
  • 5,600+ servers in 59 countries
  • 24/7 live chat support
  • - - Surf Shark logo + + {/* Surf Shark logo */}
  • Verified zero-logs policy & no IP leaks
  • 3200+ servers in 100 countries