Compare commits

...

48 commits

Author SHA1 Message Date
ak95
0154aeae36 updated dependencies, user agent string for chrome 2024-12-03 21:45:55 -08:00
z0ccc
dccc943713 locales 2023-01-31 03:02:29 -05:00
z0ccc
e05a142a86
Create license 2023-01-31 03:01:36 -05:00
z0ccc
5d239c958f
Delete LICENSE 2023-01-31 02:58:51 -05:00
z0ccc
4c2ff0d1ae Switch back attachTab method temporarily (to avoid warning) 2023-01-30 02:14:49 -05:00
z0ccc
10dc61fcdc Fixed debugger bar not disappearing 2023-01-30 01:58:29 -05:00
z0ccc
bb14534fa4 Updated version 2023-01-30 00:58:53 -05:00
z0ccc
f6b313e1af fixed flags on windows 2023-01-29 22:41:01 -05:00
z0ccc
7bca6b7b5f Added more images 2023-01-28 21:40:33 -05:00
z0ccc
82e1f98e66 Added baseurl 2023-01-26 23:22:53 -05:00
z0ccc
294f5d7252 Remove capitals from folder names 2023-01-16 01:43:48 -05:00
z0ccc
38328ce473 switched tab api for webNavigation 2023-01-12 20:39:49 -05:00
z0ccc
0012a62f15 updated version 2022-12-29 22:24:43 -05:00
z0ccc
2e95de4f61 updated promo screenshots 2022-12-29 21:02:05 -05:00
z0ccc
888901b01a shortened body height 2022-12-29 20:41:10 -05:00
z0ccc
8b6c0a966e Removed vpn tab 2022-12-29 20:06:39 -05:00
z0ccc
d492304870 set lat and lon inputs to number type 2022-12-29 19:59:06 -05:00
z0ccc
56369c2914 added countries to configurations 2022-12-29 19:23:24 -05:00
z0ccc
d6fff31a4f Restructured location page 2022-12-29 19:12:12 -05:00
z0ccc
0765375063 Fixed bar not going away after selecting default settings 2022-12-29 03:12:17 -05:00
z0ccc
50e53f8507 Updated version 2022-12-26 13:30:00 -05:00
z0ccc
6c387723e8 Remove unused imports 2022-12-26 13:27:19 -05:00
z0ccc
2592ea3f41 vpn page 2022-12-26 13:25:49 -05:00
z0ccc
481b575b92 cursors to labels (remove later) 2022-12-25 01:52:06 -05:00
z0ccc
90fa5399aa platform update 2022-12-25 01:51:42 -05:00
z0ccc
2ab3089f8f user agent age update 2022-12-25 00:12:44 -05:00
z0ccc
fcabda87f5 locale description update 2022-12-22 17:44:30 -05:00
z0ccc
aa6ea7a4c4 description update 2022-12-22 12:27:44 -05:00
z0ccc
2b8748ca5b Description update 2022-12-22 12:26:31 -05:00
z0ccc
25c00a9599 Updated decription 2022-12-22 11:50:41 -05:00
z0ccc
9faf49847a version update 2022-12-21 23:16:53 -05:00
z0ccc
c0dfaf710d Added locales 2022-12-21 22:58:29 -05:00
z0ccc
2692184184 version update 2022-12-20 22:50:08 -05:00
z0ccc
6e29139a5b Added more locations 2022-12-20 21:57:56 -05:00
z0ccc
5a3a3eb0e3 Read me update 2022-12-18 17:15:47 -05:00
z0ccc
4b87b6f9fe version update to 2.1.3 2022-12-18 17:05:54 -05:00
z0ccc
d9e017d64f readme update 2022-12-18 16:59:33 -05:00
z0ccc
7c94f2f838 read me update 2022-12-18 16:52:29 -05:00
z0ccc
3c163905fc rename extension 2022-12-18 16:06:16 -05:00
z0ccc
a1018180a9 Updated user agents 2022-12-18 15:53:26 -05:00
z0ccc
344bc59134 removed brae from user agents 2022-12-18 14:45:54 -05:00
z0ccc
639ec0adb1 update screenshots 2022-12-18 03:37:40 -05:00
z0ccc
65c01759f7 display 'error' if ip fetch fails 2022-12-17 21:12:58 -05:00
z0ccc
d98b63ebc8 support info text 2022-12-17 19:08:18 -05:00
z0ccc
fe2d070426 Fixed extra long popup 2022-11-15 00:19:25 -05:00
z0ccc
e7334d8a7c Moved popup size to globol.css (body) to fix resize flash issue 2022-11-14 23:52:17 -05:00
z0ccc
3a55fd7402 Updated footer text 2022-11-11 16:07:36 -05:00
z0ccc
f3945a7da4 Updated version number 2022-11-09 20:12:11 -05:00
107 changed files with 13631 additions and 7479 deletions

21
LICENSE
View file

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2019 Michael Xieyang Liu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

137
README.md
View file

@ -1,26 +1,32 @@
# Vytal
<a href="https://chrome.google.com/webstore/detail/vytal/ncbknoohfjmcfneopnfkapmkblaenokb"><img src="https://raw.githubusercontent.com/z0ccc/Upvote-Anywhere/master/promo/chrome.png" alt="Get Vytal for Chromium"></a>
<p>
<a href="https://chrome.google.com/webstore/detail/vytal-spoof-timezone-loca/ncbknoohfjmcfneopnfkapmkblaenokb?utm_source=github"><img src="https://raw.githubusercontent.com/vytal-io/vytal-extension/master/promo/chrome.png" alt="Get Vytal for Chrome"></a>
<a href="https://microsoftedge.microsoft.com/addons/detail/vytal-spoof-timezone-l/nkaemodamjfefjgbefolnpnlccpdfpap"><img src="https://raw.githubusercontent.com/vytal-io/vytal-extension/master/promo/edge.png" alt="Get Vytal for Microsoft Edge"></a>
<a href="https://addons.opera.com/en/extensions/details/vytal-spoof-timezone-location-user-agent/"><img src="https://raw.githubusercontent.com/vytal-io/vytal-extension/master/promo/opera.png" alt="Get Vytal for Opera"></a>
</p>
Spoof your location data and user agent.
Browser extension to spoof your timezone, geolocation, locale and user agent.
## About
Vytal can spoof your timezone, locale, geolocation and user agent. This data can be used to track you or reveal your location. Vytal is not a VPN or proxy and will not change your IP.
This extension allows you to customize your browser's settings to appear as if you are accessing the internet from a different location, locale, or device. This can be useful for testing websites, bypassing regional restrictions, or protecting your privacy online. With just a few clicks, you can change your time zone, locale, geolocation, and user agent to match your desired settings.
Most extensions that provide anti-fingerprinting features rely on content scripts to inject script tags into webpages. There are many limitations to script tag injections which you can read about here: https://palant.info/2020/12/10/how-anti-fingerprinting-extensions-tend-to-make-fingerprinting-easier/
Most extensions that provide these features rely on content scripts to inject script tags into web pages. There are many limitations to script tag injections which you can read about here: https://palant.info/2020/12/10/how-anti-fingerprinting-extensions-tend-to-make-fingerprinting-easier
Vytal utilizes the chrome.debugger API to spoof this data. This allows the data to be spoofed in frames, web workers and during the initial loading of a website. It also makes the spoofing completely undetectable.
Vytal utilizes the chrome.debugger API to spoof this data instead. This allows the data to be spoofed in frames, web workers and during the initial loading of a website. It also makes the spoofing completely undetectable.
Vytal is not a VPN or proxy and will not change your IP. Although it can be used in combination with a VPN to obscure your true location.
You can test and compare Vytal and other extensions on https://vytal.io
Vytal contains no ads and signup is not required.
Vytal contains collects no data and signup is not required.
## Limitations
### Debugging bar
While the chrome.debugger API is active, a bar under the address bar is displayed. Hiding the bar is only possible when the --silent-debugger-extension-api command-line switch is used.
While the chrome.debugger API is active, a bar under the address bar is displayed. Hiding the bar is only possible when the --silent-debugger-extension-api command-line switch is used.
Instructions on how to run chromium with flags: https://www.chromium.org/developers/how-tos/run-chromium-with-flags
@ -30,126 +36,19 @@ Unfortunately Vytal doesn't work on Firefox since Firefox doesn't support the de
### New tab
The chrome debugger cannot attach itself to chrome://newtab. This can result in data leakage to the first non chrome:// page you navigate to.
The chrome debugger cannot attach itself to chrome://newtab. This can result in data leakage to the first non chrome:// page you navigate to.
### Locale override does not mock language data
Unlike the Chrome devtools location sensor, overriding the locale does not change language data (such as navigator.language or navigator.languages). There is an open ticket about this here: https://bugs.chromium.org/p/chromium/issues/detail?id=1306254
## Data Retrieval Methods
### Top window
The top window is the topmost window in the hierarchy of window objects.
### Initial load
Data spoofing methods can have slight delays between the loading of a webpage and the data being spoofed. Data can be retrieved at the very start of loading before the data can be spoofed.
### Frame
A frame is a part of a web page which displays content independent of its container, with the ability to load content independently. The HTML or media elements shown in a frame may come from a different web site as the other elements of content on display.
### Web worker
Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. Once created, a worker can send messages to the JavaScript code that created it by posting messages to an event handler specified by that code (and vice versa). Extension content scripts cannot be injected into workers
## Data Tampering
Data spoofed with Vytal can not be detected. Although other extensions which spoof data can be detected. https://vytal.io allows you to compare and test these various tools. A red x signifies that the scanner has detected tampered data. A green check means that no tampering has
been detected. Clicking on the table row of the tampered data will bring up a modal box showing the type of detected tampering.
## Types of Tampering
### Failed Date.prototype.setDate.toString()
```
if (!Date.prototype.setDate.toString().includes('[native code]')) {
return true;
}
return false;
```
### Failed Object.getPrototypeOf(Intl.DateTimeFormat.prototype).constructor.toString()
```
if (
!Object.getPrototypeOf(Intl.DateTimeFormat.prototype)
.constructor.toString()
.includes('Object')
) {
return true;
}
return false;
```
### Failed Intl.DateTimeFormat.prototype.resolvedOptions.toString()
```
if (
!Intl.DateTimeFormat.prototype.resolvedOptions
.toString()
.includes('[native code]')
) {
return true;
}
return false;
```
### Failed Object.getOwnPropertyDescriptor(navigator, key)
```
if (Object.getOwnPropertyDescriptor(navigator, key) !== undefined) {
return true;
}
return false;
```
### Failed object.getOwnPropertyDescriptor(Navigator.prototype, key).value
```
if (
Object.getOwnPropertyDescriptor(Navigator.prototype, key).value !==
undefined
) {
return true;
}
return false;
```
### Failed Failed Navigator.prototype[key]
```
try {
const check = Navigator.prototype[key];
return true;
} catch (err) {
return false;
}
```
### Failed navigator.geolocation.getCurrentPosition.toString().includes('[native code]')
```
if (
!navigator.geolocation.getCurrentPosition
.toString()
.includes('[native code]')
) {
return true;
}
return false;
```
## Screenshots
![Screenshot of extension popup](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-1.png)
![Screenshot of location data tab](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-1.png)
![Screenshot of extension popup and vytal.io](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-2.png)
![Close up of extension popup](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-3.png)
![Screenshot of user agent tab](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-2.png)
![Screenshot of info tab](https://raw.githubusercontent.com/z0ccc/Vytal/master/promo/screenshot-3.png)
## Dev
@ -159,7 +58,7 @@ Clone this repo and run these commands to start the development server.
```
yarn
yarn run start
yarn start
```
Load the extension on Chrome:

674
license Normal file
View file

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

11124
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "vytal",
"version": "2.0.0",
"version": "2.1.9",
"description": "Spoof your location data and user agent.",
"license": "MIT",
"repository": {
@ -9,7 +9,6 @@
},
"scripts": {
"build": "node utils/build.js",
"start": "node utils/webserver.js",
"prettier": "prettier --write '**/*.{js,jsx,ts,tsx,json,css,scss,md}'"
},
"dependencies": {
@ -19,6 +18,7 @@
"@types/lodash.debounce": "^4.0.7",
"@types/webpack-env": "^1.18.0",
"@types/webrtc": "^0.0.33",
"country-flag-emoji-polyfill": "^0.1.4",
"lodash.debounce": "^4.0.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
@ -51,7 +51,7 @@
"fs-extra": "^10.0.0",
"html-loader": "^3.1.0",
"html-webpack-plugin": "^5.5.0",
"node-sass": "^6.0.1",
"sass": "*",
"prettier": "^2.5.1",
"sass-loader": "^12.4.0",
"source-map-loader": "^3.0.1",

BIN
promo/chrome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
promo/edge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
promo/opera.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 167 KiB

BIN
promo/vytal-logo-1024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View file

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1988"
xml:space="preserve"
width="336.63403"
height="336.09796"
viewBox="0 0 336.63403 336.09796"
sodipodi:docname="vytal-logo-background.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1992"><linearGradient
id="linearGradient3493"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3491" /></linearGradient><linearGradient
id="linearGradient3443"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3441" /></linearGradient></defs><sodipodi:namedview
id="namedview1990"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.4997434"
inkscape:cx="130.02224"
inkscape:cy="146.02498"
inkscape:window-width="1920"
inkscape:window-height="1012"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g1994" /><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="ink_ext_XXXXXX 2"
style="display:inline"
transform="translate(-651.16235,-636.64809)"><ellipse
style="display:inline;fill:#ffffff;fill-opacity:1;stroke:#a55eea;stroke-width:30.1447;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3359"
cx="819.47937"
cy="804.69708"
rx="153.24467"
ry="152.97664" /></g><g
id="g1994"
inkscape:groupmode="layer"
inkscape:label="ink_ext_XXXXXX"
transform="matrix(1.3333333,0,0,-1.3333333,-651.16235,963.35191)"
style="display:inline"><g
id="g1996"
transform="matrix(0.1,0,0,0.1,14.121465,-4.35597)"
style="fill:#a55eea;fill-opacity:1;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"><path
d="m 6024.57,6299.02 c 236.48,-9.01 357,-293.74 194.89,-469.43 -43.11,-46.74 -68,-107.39 -68,-170.98 v -356.57 c 0,-76.84 -62.88,-142.04 -139.71,-141 -74.94,1.01 -135.95,62.63 -135.95,137.81 v 359.75 c 0,62.21 -22.45,122.95 -65.28,168.08 -171.49,180.65 -37.65,481.93 214.05,472.34"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path1998" /><path
d="m 5479.96,5351.64 c -199.26,160.18 -313.53,398.53 -313.53,653.93 0,462.43 376.21,838.64 838.65,838.64 462.42,0 838.65,-376.21 838.65,-838.64 0,-249.81 -110.21,-484.83 -302.36,-644.79 -48.79,-40.62 -121.33,-34.01 -161.96,14.81 -40.64,48.8 -34.02,121.31 14.81,161.95 435.48,362.57 179.51,1076.67 -389.14,1076.67 -574.02,0 -826.6,-725.08 -381.02,-1083.31 49.49,-39.8 57.37,-112.18 17.58,-161.68 -39.77,-49.48 -112.19,-57.38 -161.68,-17.58"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path2002" /></g></g><g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="ink_ext_XXXXXX 1"
style="display:inline"
transform="translate(-651.16235,-636.64809)" /></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
promo/vytal-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

78
promo/vytal-logo.svg Normal file
View file

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1988"
xml:space="preserve"
width="336.63403"
height="336.09796"
viewBox="0 0 336.63403 336.09796"
sodipodi:docname="vytal-logo.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1992"><linearGradient
id="linearGradient3493"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3491" /></linearGradient><linearGradient
id="linearGradient3443"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3441" /></linearGradient></defs><sodipodi:namedview
id="namedview1990"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.4997434"
inkscape:cx="130.02224"
inkscape:cy="146.02498"
inkscape:window-width="1920"
inkscape:window-height="1012"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g1994" /><g
id="g1994"
inkscape:groupmode="layer"
inkscape:label="ink_ext_XXXXXX"
transform="matrix(1.3333333,0,0,-1.3333333,-651.16235,963.35191)"
style="display:inline"><g
id="g1996"
transform="matrix(0.1,0,0,0.1,14.121465,-4.35597)"
style="fill:#a55eea;fill-opacity:1;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"><path
d="m 6024.57,6299.02 c 236.48,-9.01 357,-293.74 194.89,-469.43 -43.11,-46.74 -68,-107.39 -68,-170.98 v -356.57 c 0,-76.84 -62.88,-142.04 -139.71,-141 -74.94,1.01 -135.95,62.63 -135.95,137.81 v 359.75 c 0,62.21 -22.45,122.95 -65.28,168.08 -171.49,180.65 -37.65,481.93 214.05,472.34"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path1998" /><path
d="m 5479.96,5351.64 c -199.26,160.18 -313.53,398.53 -313.53,653.93 0,462.43 376.21,838.64 838.65,838.64 462.42,0 838.65,-376.21 838.65,-838.64 0,-249.81 -110.21,-484.83 -302.36,-644.79 -48.79,-40.62 -121.33,-34.01 -161.96,14.81 -40.64,48.8 -34.02,121.31 14.81,161.95 435.48,362.57 179.51,1076.67 -389.14,1076.67 -574.02,0 -826.6,-725.08 -381.02,-1083.31 49.49,-39.8 57.37,-112.18 17.58,-161.68 -39.77,-49.48 -112.19,-57.38 -161.68,-17.58"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path2002" /></g></g><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="ink_ext_XXXXXX 2"
style="display:inline"
transform="translate(-651.16235,-636.64809)"><ellipse
style="display:inline;fill:none;fill-opacity:1;stroke:#a55eea;stroke-width:30.1447;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3359"
cx="819.47937"
cy="804.69708"
rx="153.24467"
ry="152.97664" /></g><g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="ink_ext_XXXXXX 1"
style="display:inline"
transform="translate(-651.16235,-636.64809)" /></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

93
promo/vytal-text-logo.svg Normal file
View file

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1988"
xml:space="preserve"
width="154.78209"
height="35"
viewBox="0 0 154.78209 35"
sodipodi:docname="vytal-text-logo.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1992"><linearGradient
id="linearGradient3493"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3491" /></linearGradient><linearGradient
id="linearGradient3443"
inkscape:swatch="solid"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3441" /></linearGradient></defs><sodipodi:namedview
id="namedview1990"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="3.102071"
inkscape:cx="153.44588"
inkscape:cy="21.276109"
inkscape:window-width="1920"
inkscape:window-height="1012"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="text1515"
height="336.09796px" /><g
id="g1994"
inkscape:groupmode="layer"
inkscape:label="ink_ext_XXXXXX"
transform="matrix(1.3333333,0,0,-1.3333333,-651.16228,963.35193)"
style="display:inline"><g
id="g1996"
transform="matrix(0.01041361,0,0,0.01041362,438.98511,646.87986)"
style="fill:#a55eea;fill-opacity:1;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"><path
d="m 6024.57,6299.02 c 236.48,-9.01 357,-293.74 194.89,-469.43 -43.11,-46.74 -68,-107.39 -68,-170.98 v -356.57 c 0,-76.84 -62.88,-142.04 -139.71,-141 -74.94,1.01 -135.95,62.63 -135.95,137.81 v 359.75 c 0,62.21 -22.45,122.95 -65.28,168.08 -171.49,180.65 -37.65,481.93 214.05,472.34"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path1998" /><path
d="m 5479.96,5351.64 c -199.26,160.18 -313.53,398.53 -313.53,653.93 0,462.43 376.21,838.64 838.65,838.64 462.42,0 838.65,-376.21 838.65,-838.64 0,-249.81 -110.21,-484.83 -302.36,-644.79 -48.79,-40.62 -121.33,-34.01 -161.96,14.81 -40.64,48.8 -34.02,121.31 14.81,161.95 435.48,362.57 179.51,1076.67 -389.14,1076.67 -574.02,0 -826.6,-725.08 -381.02,-1083.31 49.49,-39.8 57.37,-112.18 17.58,-161.68 -39.77,-49.48 -112.19,-57.38 -161.68,-17.58"
style="fill:#a55eea;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.9975;stroke-miterlimit:4;stroke-dasharray:none"
id="path2002" /></g><g
aria-label="VYTAL"
transform="scale(0.99999981,-1.0000002)"
id="text1515"
style="font-size:27.0756px;line-height:1.25;font-family:'TVA 2012';-inkscape-font-specification:'TVA 2012, ';fill:#a55eea;stroke-width:0.078102"><path
d="m 533.1602,-718.66309 q -0.79323,-0.31729 -1.57324,0.0264 -0.79323,0.33051 -1.11052,1.12375 l -4.01903,10.08724 -4.03226,-10.08724 q -0.31729,-0.79324 -1.0973,-1.12375 -0.78001,-0.34373 -1.57324,-0.0264 -0.79323,0.31729 -1.13696,1.11052 -0.33052,0.78001 -0.0132,1.57324 l 5.93601,14.87308 q 0.23797,0.59492 0.75357,0.95187 0.52882,0.35696 1.16341,0.35696 0.63458,0 1.15018,-0.35696 0.52882,-0.35695 0.76679,-0.95187 l 5.93601,-14.87308 q 0.31729,-0.79323 -0.0264,-1.57324 -0.33052,-0.79323 -1.12375,-1.11052 z"
id="path833" /><path
d="m 545.29663,-699.96929 q 0.84611,0 1.42781,-0.59492 0.59493,-0.59493 0.59493,-1.42782 v -6.35906 l 5.57905,-6.99365 q 0.52882,-0.64781 0.43628,-1.4807 -0.0925,-0.83289 -0.75357,-1.36171 -0.64781,-0.5156 -1.4807,-0.42306 -0.83289,0.0926 -1.36171,0.74035 l -4.38921,5.49973 -4.07191,-5.44685 q -0.50238,-0.67424 -1.33528,-0.79323 -0.81967,-0.11898 -1.49391,0.3834 -0.67425,0.50238 -0.79323,1.33527 -0.11899,0.83289 0.38339,1.49392 l 5.23532,7.00687 v 6.39872 q 0,0.83289 0.59492,1.42782 0.59493,0.59492 1.42782,0.59492 z"
id="path835" /><path
d="m 562.166,-714.68372 v 12.8239 q 0,0.84611 0.59492,1.45425 0.60814,0.60815 1.45425,0.60815 0.85934,0 1.46748,-0.60815 0.59492,-0.60814 0.59492,-1.45425 v -12.8239 h 3.90005 q 0.85934,0 1.45426,-0.60814 0.60814,-0.59492 0.60814,-1.45426 0,-0.84611 -0.60814,-1.45425 -0.59492,-0.60814 -1.45426,-0.60814 h -11.91167 q -0.85934,0 -1.45426,0.60814 -0.60814,0.60814 -0.60814,1.45425 0,0.85934 0.60814,1.45426 0.59492,0.60814 1.45426,0.60814 z"
id="path837" /><path
d="m 580.96556,-717.5129 q -0.23797,-0.58171 -0.76679,-0.93866 -0.5156,-0.35695 -1.15019,-0.35695 -0.63458,0 -1.1634,0.35695 -0.5156,0.35695 -0.75357,0.93866 l -5.93601,14.88629 q -0.31729,0.79323 0.0132,1.57324 0.34374,0.79323 1.13697,1.0973 0.79323,0.31729 1.57324,-0.0132 0.78001,-0.34373 1.0973,-1.13696 l 4.03225,-10.08725 4.01904,10.08725 q 0.23797,0.60814 0.78001,0.95187 0.5156,0.35696 1.13696,0.35696 0.39662,0 0.76679,-0.15865 0.79323,-0.30407 1.12375,-1.0973 0.34373,-0.78001 0.0264,-1.57324 z"
id="path839" /><path
d="m 594.45048,-704.09409 v -12.82389 q 0,-0.85933 -0.60814,-1.46748 -0.60815,-0.59492 -1.45426,-0.59492 -0.85933,0 -1.45425,0.59492 -0.60815,0.60815 -0.60815,1.46748 v 14.88629 q 0,0.84611 0.60815,1.45426 0.59492,0.60814 1.45425,0.60814 h 10.00793 q 0.85933,0 1.45425,-0.60814 0.60815,-0.60815 0.60815,-1.45426 0,-0.85933 -0.60815,-1.45426 -0.59492,-0.60814 -1.45425,-0.60814 z"
id="path841" /></g></g><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="ink_ext_XXXXXX 2"
style="display:inline"
transform="translate(-651.16228,-636.64807)"><ellipse
style="display:inline;fill:none;fill-opacity:1;stroke:#a55eea;stroke-width:3.13916;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3359"
cx="668.69019"
cy="654.14807"
rx="15.958326"
ry="15.930421" /></g><g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="ink_ext_XXXXXX 1"
style="display:inline"
transform="translate(-651.16228,-636.64807)" /></svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -1,42 +0,0 @@
import { Box, Link } from 'theme-ui'
const FooterLink = () => {
return (
<Box
sx={{
color: 'text',
mb: '8px',
fontSize: '11px',
position: 'fixed',
bottom: '0',
}}
>
<Link
variant="footer"
href={`https://go.nordvpn.net/aff_c?offer_id=15&aff_id=79520&url_id=902`}
target="_blank"
>
Vytal does not change your IP address. To change your IP you will need a
VPN such as{' '}
</Link>
<Link
variant="hover"
href={`https://go.nordvpn.net/aff_c?offer_id=15&aff_id=79520&url_id=902`}
target="_blank"
>
NordVPN
</Link>{' '}
or{' '}
<Link
variant="hover"
href={`https://go.getproton.me/aff_c?offer_id=26&aff_id=3825`}
target="_blank"
>
ProtonVPN
</Link>
.
</Box>
)
}
export default FooterLink

View file

@ -1,186 +0,0 @@
import { useState, useEffect, ChangeEvent } from 'react'
import { Box, Label, Radio, Flex, Select } from 'theme-ui'
import DebouncedInput from '../../Components/DebouncedInput'
import userAgents from '../../../utils/userAgents'
import detachDebugger from '../../../utils/detachDebugger'
import Page from '../../Components/Page'
import FooterLink from '../../Components/FooterLink'
interface UserAgentPageProps {
tab: string
}
const UserAgentPage = ({ tab }: UserAgentPageProps) => {
const [userAgentType, setUserAgentType] = useState('default')
const [operatingSystem, setOperatingSystem] = useState('Windows')
const [browser, setBrowser] = useState('Chrome')
const [userAgent, setUserAgent] = useState('')
const [platform, setPlatform] = useState('')
useEffect(() => {
chrome.storage.local.get(
['userAgentType', 'operatingSystem', 'browser', 'userAgent', 'platform'],
(storage) => {
storage.userAgentType && setUserAgentType(storage.userAgentType)
storage.operatingSystem && setOperatingSystem(storage.operatingSystem)
storage.browser && setBrowser(storage.browser)
storage.userAgent && setUserAgent(storage.userAgent)
storage.platform && setPlatform(storage.platform)
}
)
}, [])
const changeType = (e: ChangeEvent<HTMLInputElement>) => {
detachDebugger()
setUserAgentType(e.target.value)
chrome.storage.local.set({ userAgentType: e.target.value })
if (e.target.value === 'default') {
setUserAgent('')
setPlatform('')
chrome.storage.local.set({
userAgent: '',
platform: '',
})
} else if (e.target.value === 'preloaded') {
setUserAgent(userAgents[operatingSystem]['userAgents'][browser])
setPlatform(userAgents[operatingSystem]['platform'])
chrome.storage.local.set({
userAgent: userAgents[operatingSystem]['userAgents'][browser],
platform: userAgents[operatingSystem]['platform'],
})
}
}
const changeOperatingSystem = async (e: ChangeEvent<HTMLSelectElement>) => {
detachDebugger()
setOperatingSystem(e.target.value)
let browserValue = browser
if (!userAgents[e.target.value]['userAgents'][browser]) {
browserValue = Object.keys(userAgents[e.target.value]['userAgents'])[0]
setBrowser(browserValue)
}
setUserAgent(userAgents[e.target.value]['userAgents'][browserValue])
setPlatform(userAgents[e.target.value]['platform'])
chrome.storage.local.set({
userAgent: userAgents[e.target.value]['userAgents'][browserValue],
platform: userAgents[e.target.value]['platform'],
operatingSystem: e.target.value,
})
}
const changeBrowser = (e: ChangeEvent<HTMLSelectElement>) => {
detachDebugger()
setBrowser(e.target.value)
setUserAgent(userAgents[operatingSystem]['userAgents'][e.target.value])
chrome.storage.local.set({
userAgent: userAgents[operatingSystem]['userAgents'][e.target.value],
browser: e.target.value,
})
}
const changeTextInput = () => {
if (userAgentType !== 'custom') {
setUserAgentType('custom')
chrome.storage.local.set({
userAgentType: 'custom',
})
}
}
return (
<Page isCurrentTab={tab === 'userAgent'} title={'User Agent'}>
<Flex
sx={{
justifyContent: 'space-between',
mb: '8px',
}}
>
<Label>
<Radio
name="userAgentType"
value="default"
onChange={changeType}
checked={userAgentType === 'default'}
/>
Default
</Label>
<Label>
<Radio
name="userAgentType"
value="preloaded"
onChange={changeType}
checked={userAgentType === 'preloaded'}
/>
Preloaded
</Label>
<Label>
<Radio
name="userAgentType"
value="custom"
onChange={changeType}
checked={userAgentType === 'custom'}
/>
Custom
</Label>
</Flex>
{userAgentType === 'preloaded' && (
<Flex sx={{ gap: '16px' }}>
<Box sx={{ width: '100%' }}>
<Label htmlFor="operatingSystem">Operating System</Label>
<Select
name="operatingSystem"
id="operatingSystem"
value={operatingSystem}
onChange={changeOperatingSystem}
mb={'8px'}
>
{Object.keys(userAgents).map((key) => (
<option value={key} key={key}>
{key}
</option>
))}
</Select>
</Box>
<Box sx={{ width: '100%' }}>
<Label htmlFor="browser">Browser</Label>
<Select
name="browser"
id="browser"
value={browser}
onChange={changeBrowser}
mb={'8px'}
>
{Object.keys(userAgents[operatingSystem]['userAgents']).map(
(key) => (
<option value={key} key={key}>
{key}
</option>
)
)}
</Select>
</Box>
</Flex>
)}
<DebouncedInput
name="userAgent"
title="User Agent"
value={userAgent}
setValue={setUserAgent}
onChange={changeTextInput}
mb="12px"
/>
<DebouncedInput
name="platform"
title="Platform"
value={platform}
setValue={setPlatform}
onChange={changeTextInput}
mb="12px"
/>
<FooterLink />
</Page>
)
}
export default UserAgentPage

View file

@ -1,56 +0,0 @@
import { useState } from 'react'
import { ThemeProvider, Flex, Box } from 'theme-ui'
import { theme } from '../theme'
import { MapPin, Globe, Info } from 'react-feather'
import TabItem from './TabItem'
import LocationPage from './Pages/LocationPage'
import UserAgentPage from './Pages/UserAgentPage'
import SettingsPage from './Pages/SettingsPage'
import '../assets/global.css'
const Popup = () => {
const [tab, setTab] = useState('location')
return (
<ThemeProvider theme={theme}>
<Flex
sx={{
width: '350px',
height: '460px',
}}
>
<Flex
sx={{
minWidth: '36px',
backgroundColor: 'primary',
alignItems: 'center',
flexDirection: 'column',
}}
>
<TabItem
Icon={MapPin}
active={tab === 'location'}
onClick={() => setTab('location')}
/>
<TabItem
Icon={Globe}
active={tab === 'userAgent'}
onClick={() => setTab('userAgent')}
/>
<TabItem
Icon={Info}
active={tab === 'settings'}
onClick={() => setTab('settings')}
/>
</Flex>
<Box sx={{ m: '12px', width: '100%' }}>
<LocationPage tab={tab} />
<UserAgentPage tab={tab} />
<SettingsPage tab={tab} />
</Box>
</Flex>
</ThemeProvider>
)
}
export default Popup

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With Zen Mate VPN & Express VPN" },
"extDesc": {
"message": "Spoof የሰዓት ሰቅ፣ የጂኦግራፊያዊ አካባቢ፣ የአካባቢ እና የተጠቃሚ ወኪል። የአካባቢ ውሂብዎን ከቪፒኤን አይፒ አድራሻዎ ጋር ያዛምዱ።"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "المنطقة الزمنية المزيفة ، والموقع الجغرافي ، والإعدادات المحلية ، ووكيل المستخدم. تطابق بيانات موقعك مع عنوان IP الخاص بشبكة VPN الخاصة بك"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With Surfshark VPN & BrowsecVPN" },
"extDesc": {
"message": "Фалшива часова зона, геолокация, локал и потребителски агент. Свържете данните за местоположението си с ip адреса на вашата VPN."
}
}

View file

@ -0,0 +1,7 @@
{
"extName": { "message": "Vytal - Works With u Block Origin & NordVPN" },
"extDesc": {
"message": "স্পুফ টাইম জোন, জিওলোকেশন, লোকেল এবং ইউজার এজেন্ট। আপনার VPN এর আইপি ঠিকানার সাথে আপনার অবস্থানের ডেটা মেলে।"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Falsificació de la zona horària, la geolocalització, la configuració regional i l'agent d'usuari."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof časové pásmo, geolokaci, národní prostředí a uživatelského agenta. Přiřaďte údaje o své poloze k IP adrese vaší VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof tidszone, geolocation, lokalitet og brugeragent. Match dine placeringsdata med din VPN's ip-adresse."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof-Zeitzone, Geolokalisierung, Gebietsschema und Benutzeragent. Gleichen Sie Ihre Standortdaten mit der IP-Adresse Ihres VPN ab."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Πλαστή ζώνη ώρας, γεωγραφική τοποθεσία, τοπικές ρυθμίσεις και παράγοντας χρήστη."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof time zone, geolocation, locale and user agent. Match your location data to your VPN's ip address."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof time zone, geolocation, locale and user agent. Match your location data to your VPN's ip address."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof time zone, geolocation, locale and user agent. Match your location data to your VPN's ip address."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Falsificación de zona horaria, geolocalización, configuración regional y agente de usuario."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Falsificación de zona horaria, geolocalización, configuración regional y agente de usuario."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Ajavööndi, geograafilise asukoha, lokaadi ja kasutajaagendi võlts. Ühendage oma asukohaandmed VPN-i IP-aadressiga."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "جعل منطقه زمانی، موقعیت جغرافیایی، منطقه و عامل کاربر. داده های موقعیت مکانی خود را با آدرس IP VPN خود مطابقت دهید."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Huijaus aikavyöhyke, maantieteellinen sijainti, alue ja käyttäjäagentti. Yhdistä sijaintitietosi VPN-osoitteesi IP-osoitteeseen."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof time zone, geolocation, locale at user agent. Itugma ang data ng iyong lokasyon sa ip address ng iyong VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Fuseau horaire, géolocalisation, paramètres régionaux et agent utilisateur usurpés."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With Cyber Ghost VPN & Nord VPN" },
"extDesc": {
"message": "સ્પૂફ ટાઇમ ઝોન, ભૌગોલિક સ્થાન, લોકેલ અને વપરાશકર્તા એજન્ટ. તમારા VPN ના IP સરનામા સાથે તમારા સ્થાન ડેટાને મેચ કરો."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "אזור זמן מזויף, מיקום גיאוגרפי, מיקום וסוכן משתמש. התאם את נתוני המיקום שלך לכתובת ה-IP של ה-VPN שלך."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "हंसोड़ समय क्षेत्र, भौगोलिक स्थान, लोकेल और उपयोगकर्ता एजेंट। अपने वीपीएन के आईपी पते से अपने स्थान डेटा का मिलान करें।"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Lažna vremenska zona, geolokacija, lokalizacija i korisnički agent. Uskladite svoje podatke o lokaciji s IP adresom svog VPN-a."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Hamis időzóna, földrajzi hely, terület és felhasználói ügynök. Párosítsa helyadatait VPN-je IP-címével."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof zona waktu, geolokasi, lokal, dan agen pengguna. Cocokkan data lokasi Anda dengan alamat ip VPN Anda."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoofing fuso orario, geolocalizzazione, locale e user agent. Abbina i tuoi dati sulla posizione all'indirizzo IP della tua VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "タイム ゾーン、位置情報、ロケール、およびユーザー エージェントを偽装します。位置データを VPN の IP アドレスと照合します。"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With EpressVPN & Surf Shark VPN" },
"extDesc": {
"message": "ಸ್ಪೂಫ್ ಸಮಯ ವಲಯ, ಜಿಯೋಲೊಕೇಶನ್, ಲೊಕೇಲ್ ಮತ್ತು ಬಳಕೆದಾರ ಏಜೆಂಟ್. ನಿಮ್ಮ ಸ್ಥಳ ಡೇಟಾವನ್ನು ನಿಮ್ಮ VPN ನ ip ವಿಳಾಸಕ್ಕೆ ಹೊಂದಿಸಿ."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "스푸핑 시간대, 지리적 위치, 로케일 및 사용자 에이전트. 위치 데이터를 VPN의 IP 주소와 일치시킵니다."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Apgaulinga laiko juosta, geografinė vieta, lokalė ir vartotojo agentas. Suderinkite vietos duomenis su VPN IP adresu."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Maldināta laika josla, ģeogrāfiskā atrašanās vieta, lokalizācija un lietotāja aģents."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With 1click VPN & HolaVPN" },
"extDesc": {
"message": "സ്പൂഫ് ടൈം സോൺ, ജിയോലൊക്കേഷൻ, ലോക്കൽ, യൂസർ ഏജന്റ്. നിങ്ങളുടെ VPN-ന്റെ ip വിലാസവുമായി നിങ്ങളുടെ ലൊക്കേഷൻ ഡാറ്റ പൊരുത്തപ്പെടുത്തുക."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With TouchVPN & Ad Guard VPN" },
"extDesc": {
"message": "स्पूफ टाइम झोन, भौगोलिक स्थान, लोकॅल आणि वापरकर्ता एजंट. तुमचा स्थान डेटा तुमच्या VPN च्या ip पत्त्याशी जुळवा."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Zon masa palsu, geolokasi, tempat dan ejen pengguna. Padankan data lokasi anda dengan alamat ip VPN anda."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof-tijdzone, geolocatie, locale en user-agent. Koppel uw locatiegegevens aan het ip-adres van uw VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof tidssone, geolokalisering, lokalitet og brukeragent. Match posisjonsdataene dine med VPN-ens ip-adresse."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Fałszowanie strefy czasowej, geolokalizacji, lokalizacji i klienta użytkownika."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Fuso horário falso, geolocalização, localidade e agente do usuário. Combine seus dados de localização com o endereço IP da sua VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Fuso horário falso, geolocalização, localidade e agente do usuário. Combine seus dados de localização com o endereço IP da sua VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Falsificarea fusului orar, localizarea geografică, localitatea și agentul utilizator."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Подделка часового пояса, геолокации, локали и пользовательского агента."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof časové pásmo, geolokáciu, miestne nastavenie a používateľského agenta. Priraďte údaje o svojej polohe k IP adrese vašej VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Prevara časovnega pasu, geolokacije, lokalne nastavitve in uporabniškega agenta."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Лажна временска зона, геолокација, локализација и кориснички агент. Ускладите своје податке о локацији са ИП адресом вашег ВПН-а."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Spoof-tidszon, geolokalisering, plats och användaragent. Matcha din platsdata med din VPN:s ip-adress."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With 1 click VPN & Hotspot VPN" },
"extDesc": {
"message": "Saa za eneo, eneo la eneo, eneo na wakala wa mtumiaji. Linganisha data ya eneo lako na anwani ya IP ya VPN yako."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Works With Setup VPN & Hot spot VPN" },
"extDesc": {
"message": "ஸ்பூஃப் நேர மண்டலம், புவி இருப்பிடம், மொழி மற்றும் பயனர் முகவர். உங்கள் இருப்பிடத் தரவை உங்கள் VPN இன் ஐபி முகவரியுடன் பொருத்தவும்."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "స్పూఫ్ టైమ్ జోన్, జియోలొకేషన్, లొకేల్ మరియు యూజర్ ఏజెంట్. మీ VPN యొక్క ip చిరునామాతో మీ స్థాన డేటాను సరిపోల్చండి."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "เขตเวลาปลอม ตำแหน่งทางภูมิศาสตร์ ตำแหน่งที่ตั้ง และตัวแทนผู้ใช้ จับคู่ข้อมูลตำแหน่งของคุณกับที่อยู่ IP ของ VPN"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Sahte zaman dilimi, coğrafi konum, yerel ayar ve kullanıcı aracısı. Konum verilerinizi VPN'inizin ip adresiyle eşleştirin."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Підробка часового поясу, геолокації, локалі та агента користувача. Зіставте дані про своє місцезнаходження з IP-адресою VPN."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "Giả mạo múi giờ, định vị địa lý, ngôn ngữ và tác nhân người dùng. Khớp dữ liệu vị trí của bạn với địa chỉ IP VPN của bạn."
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "欺骗时区、地理位置、区域设置和用户代理。将您的位置数据与您的 VPN 的 IP 地址相匹配。"
}
}

View file

@ -0,0 +1,6 @@
{
"extName": { "message": "Vytal - Spoof Timezone, Geolocation & Locale" },
"extDesc": {
"message": "欺騙時區、地理位置、區域設置和用戶代理。將您的位置數據與您的 VPN 的 IP 地址相匹配。"
}
}

View file

@ -5,10 +5,16 @@
}
body {
font-family: 'Nunito', Arial, Helvetica, sans-serif;
font-family: 'Twemoji Country Flags', 'Nunito', Arial, Helvetica, sans-serif;
font-weight: 500;
width: 358px;
height: 440px;
}
input {
font-family: 'Nunito', Arial, Helvetica, sans-serif;
}
#app-container {
display: inline;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
src/assets/icon48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

14
src/assets/nord.svg Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="720px" height="158px" viewBox="0 0 720 158" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
<title>nord-logo-horizontal</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="nord-logo-horizontal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="global/logos/horizontal/nordvpn">
<path d="M709.840683,65.915493 C704.225352,65.915493 699.71831,61.3797695 699.71831,55.7746479 C699.71831,50.206402 704.225352,45.6338028 709.840683,45.6338028 C715.456015,45.6338028 720,50.206402 720,55.7746479 C720,61.3797695 715.456015,65.915493 709.840683,65.915493 Z M709.840683,47.4775928 C705.296698,47.4775928 701.639344,51.1651729 701.639344,55.7746479 C701.639344,60.3841229 705.296698,64.0717029 709.840683,64.0717029 C714.347726,64.0717029 718.078966,60.3841229 718.078966,55.7746479 C718.078966,51.1651729 714.347726,47.4775928 709.840683,47.4775928 Z M708.326022,57.3971831 L708.326022,61.5641485 L705.924729,61.5641485 L705.924729,49.9851472 L710.505657,49.9851472 C712.759178,49.9851472 714.643269,51.1651729 714.643269,53.6358515 C714.643269,55.3690141 713.719695,56.4384123 712.426691,56.9546735 L714.827984,61.5641485 L712.205033,61.5641485 L710.099284,57.3971831 L708.326022,57.3971831 Z M712.205033,53.7096031 C712.205033,52.5664533 711.244516,52.2714469 710.320942,52.2714469 L708.326022,52.2714469 L708.326022,55.1477593 L710.357885,55.1477593 C711.244516,55.1477593 712.205033,54.7790013 712.205033,53.7096031 Z" id="®" fill="#373B42"></path>
<path d="M300.067602,121.690141 L265.385912,69.6676056 L265.385912,121.690141 L249.971827,121.690141 L249.971827,46.2574648 L267.794362,46.2574648 L300.549292,95.4861972 L300.549292,46.2574648 L315.963376,46.2574648 L315.963376,121.690141 L300.067602,121.690141 Z M325.145915,96.0642254 C325.145915,80.7464789 337.766197,69.0895775 353.372958,69.0895775 C368.88338,69.0895775 381.310986,80.4574648 381.310986,95.7752113 C381.310986,111.285634 368.690704,122.846197 353.180282,122.846197 C337.573521,122.846197 325.145915,111.574648 325.145915,96.0642254 Z M340.56,95.8715493 C340.56,103.67493 346.243944,109.069859 353.27662,109.069859 C360.309296,109.069859 365.896901,103.67493 365.896901,95.8715493 C365.896901,88.164507 360.212958,82.7695775 353.180282,82.7695775 C346.147606,82.7695775 340.56,88.164507 340.56,95.8715493 Z M418.157731,70.2456338 L418.157731,84.9853521 C416.134632,84.6 414.015196,84.6 413.34083,84.6 C406.115477,84.6 401.1059,89.6095775 401.1059,99.1470423 L401.1059,121.690141 L386.366182,121.690141 L386.366182,70.2456338 L400.62421,70.2456338 L400.62421,77.76 L400.816886,77.76 C403.610689,71.8833803 408.812942,69.6676056 414.111534,69.6676056 C415.26759,69.6676056 417.098013,69.9566197 418.157731,70.2456338 Z M461.565634,121.690141 L461.565634,115.139155 L461.372958,115.139155 C456.556056,122.171831 448.849014,122.653521 445.380845,122.653521 C430.448451,122.653521 420.910986,109.744225 420.910986,95.8715493 C420.910986,82.8659155 430.833803,69.2822535 445.573521,69.2822535 C448.56,69.2822535 455.689014,69.8602817 460.987606,76.1222535 L461.180282,76.1222535 L461.180282,43.2709859 L476.112676,43.2709859 L476.112676,121.690141 L461.565634,121.690141 Z M461.565634,95.8715493 C461.565634,88.164507 455.88169,82.8659155 448.849014,82.8659155 C441.816338,82.8659155 436.132394,88.164507 436.132394,95.8715493 C436.132394,103.67493 441.816338,109.069859 448.849014,109.069859 C455.88169,109.069859 461.565634,103.67493 461.565634,95.8715493 Z M508.051268,121.690141 L480.787606,46.2574648 L497.646761,46.2574648 L517.20338,103.578592 L536.856338,46.2574648 L553.426479,46.2574648 L526.066479,121.690141 L508.051268,121.690141 Z M614.844507,70.4383099 C614.844507,87.1047887 603.091268,95.1008451 587.291831,95.1008451 L575.442254,95.1008451 L575.442254,121.690141 L559.835493,121.690141 L559.835493,46.2574648 L587.869859,46.2574648 C602.99493,46.2574648 614.844507,54.4461972 614.844507,70.4383099 Z M599.141408,70.823662 C599.141408,63.5019718 592.975775,60.9971831 586.521127,60.9971831 L575.442254,60.9971831 L575.442254,80.5538028 L586.617465,80.5538028 C592.783099,80.5538028 599.141408,77.856338 599.141408,70.823662 Z M672.794366,121.690141 L638.112676,69.6676056 L638.112676,121.690141 L622.698592,121.690141 L622.698592,46.2574648 L640.521127,46.2574648 L673.276056,95.4861972 L673.276056,46.2574648 L688.690141,46.2574648 L688.690141,121.690141 L672.794366,121.690141 Z" id="NordVPN" fill="#373B42"></path>
<path d="M18.8134777,157.183099 C6.97925691,140.855593 0,120.766132 0,99.0432916 C0,44.3431921 44.2539653,0 98.8439981,0 C153.434031,0 197.687996,44.3431921 197.687996,99.0432916 C197.687996,120.765991 190.70883,140.855331 178.87475,157.18278 L131.400097,79.9339131 L126.815565,87.6900449 L131.466937,109.261148 L98.8439981,53.3310032 L78.663402,87.4726248 L83.361656,109.261148 L66.2617567,79.9781408 L18.8134777,157.183099 Z" id="logomark" fill="#4687FF"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5 KiB

69
src/assets/proton.svg Normal file
View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 4520 787" style="enable-background:new 0 0 4520 787;" xml:space="preserve">
<style type="text/css">
.st0{clip-path:url(#SVGID_00000101076283012793058550000013277607966434688140_);}
.st1{fill:#6D4AFF;}
.st2{fill:#1B1340;}
.st3{fill-rule:evenodd;clip-rule:evenodd;fill:#6D4AFF;}
.st4{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_00000143612414778509468690000005354010894178983867_);}
.st5{fill:url(#SVGID_00000164510369689970512730000008890151008062097281_);}
</style>
<g>
<defs>
<rect id="SVGID_1_" width="4520" height="787"/>
</defs>
<clipPath id="SVGID_00000124143326424118090040000000686822535870151078_">
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
</clipPath>
<g style="clip-path:url(#SVGID_00000124143326424118090040000000686822535870151078_);">
<path class="st1" d="M3909.1,150h-223.4v483.9h88.5V513.4c0-11.7,4.7-23,13-31.3c8.3-8.3,19.5-12.9,31.2-12.9h90.7
c42.2,0,82.7-16.8,112.6-46.6c29.9-29.9,46.7-70.4,46.7-112.6c0.1-21-4-41.8-11.9-61.2c-8-19.4-19.7-37-34.5-51.9
c-14.8-14.9-32.4-26.7-51.8-34.7C3950.8,154.1,3930,150,3909.1,150L3909.1,150z M3978.7,308.8c0,9.9-1.9,19.7-5.8,28.9
c-3.8,9.2-9.4,17.5-16.4,24.5c-7,7-15.4,12.6-24.5,16.3c-9.2,3.8-19,5.7-28.9,5.7h-129.4V233.4h129.4c10,0,19.8,2,29,5.8
c9.2,3.8,17.5,9.4,24.5,16.5c7,7,12.6,15.4,16.3,24.6c3.8,9.2,5.7,19.1,5.6,29L3978.7,308.8z"/>
<path class="st1" d="M3374.9,632.1l-178.3-483.5h100.7l117.3,346c4.6,12.4,7.9,25.2,9.9,38.2h1c1.4-13.2,4.8-26,9.9-38.2
l117.6-346h101.3l-179.2,483.5H3374.9z"/>
<path class="st1" d="M4101.3,632.1V148.6h77.5l228.3,299.9c8.2,10.3,15.3,21.5,21.3,33.2h1.4c-1.5-14.6-2.3-29.2-2.2-43.9V148.6
h91.5v483.5h-77.5l-228.9-299.9c-8.1-10.4-15.2-21.5-21.2-33.2h-0.8c1.2,14.6,1.7,29.2,1.5,43.9v289.3H4101.3z"/>
<path class="st2" d="M1434.2,147.2h-223.4v483.9h88.5V510.6c0-11.7,4.7-23,12.9-31.3c8.3-8.3,19.5-12.9,31.2-12.9h90.7
c42.2,0,82.7-16.8,112.6-46.6s46.6-70.4,46.6-112.6c0.1-21-4-41.8-11.9-61.2c-8-19.4-19.7-37-34.5-51.9
c-14.8-14.9-32.4-26.7-51.8-34.7C1475.9,151.3,1455.2,147.2,1434.2,147.2L1434.2,147.2z M1503.9,306c0,9.9-1.9,19.7-5.8,28.9
c-3.8,9.2-9.4,17.5-16.4,24.5c-7,7-15.3,12.6-24.5,16.3c-9.2,3.8-19,5.7-28.9,5.7h-129.4V230.6h129.4c9.9,0,19.8,2,29,5.8
c9.2,3.8,17.5,9.4,24.5,16.5c7,7,12.6,15.4,16.3,24.6c3.8,9.2,5.7,19.1,5.6,29L1503.9,306z"/>
<path class="st2" d="M1607.4,631.3v-192c0-78.3,45.8-140.6,137.3-140.6c14.7-0.2,29.4,1.4,43.7,4.8v79
c-10.4-0.7-19.9-0.7-23.6-0.7c-48.5,0-69.7,22.2-69.7,67.2v182.4H1607.4z"/>
<path class="st2" d="M1814.6,468.3c0-96.3,72.8-169.7,174-169.7c101.2,0,173.9,73.5,173.9,169.7c0,96.3-72.8,170.5-173.9,170.5
S1814.6,564.7,1814.6,468.3z M2075.9,468.3c0-54.7-36.7-93.6-87.3-93.6c-50.6,0-87.4,38.8-87.4,93.6c0,54.7,36.7,93.6,87.4,93.6
C2039.3,561.9,2075.9,523.8,2075.9,468.3L2075.9,468.3z"/>
<path class="st2" d="M2417.5,375.4h-94.9v121.3c0,42.3,15.2,61.6,58.8,61.6c4.2,0,14.6,0,27.8-0.7v71.5
c-16.7,4.8-33.9,7.3-51.3,7.6c-73.5,0-123.4-44.3-123.4-128.2V375.4h-58.8v-69.7h14.6c11.7,0,23-4.7,31.2-12.9
c8.3-8.3,12.9-19.5,12.9-31.2v-66.3h88.1v110.2h94.9V375.4z"/>
<path class="st2" d="M2443.9,468.3c0-96.3,72.8-169.7,173.9-169.7c101.1,0,174,73.5,174,169.7c0,96.3-72.8,170.5-174,170.5
S2443.9,564.7,2443.9,468.3z M2705.2,468.3c0-54.7-36.7-93.6-87.4-93.6s-87.3,38.8-87.3,93.6c0,54.7,36.7,93.6,87.3,93.6
C2668.4,561.9,2705.2,523.8,2705.2,468.3z"/>
<path class="st2" d="M2837.5,631.3V445.8c0-86,54.8-147.6,152.5-147.6c97.8,0,151.8,62,151.8,147.6v185h-87.3V453.1
c0-47.8-21.5-77.6-64.5-77.6s-64.4,29.9-64.4,77.6v178.2H2837.5z"/>
<path class="st3" d="M346.1,740.3c32.8,59.3,116.9,62.6,154,5.9l346.7-528.4c36.8-56,1.6-131.2-65-138.8L100.4,0.9
C27.7-7.5-24,69.8,11.3,133.8L346.1,740.3z"/>
<linearGradient id="SVGID_00000083796956185287615240000010885015769944861357_" gradientUnits="userSpaceOnUse" x1="536.4819" y1="1113.179" x2="292.8189" y2="64.084" gradientTransform="matrix(1 0 0 -1 0 788)">
<stop offset="0.4799" style="stop-color:#24ECC6;stop-opacity:0"/>
<stop offset="0.9944" style="stop-color:#24ECC6"/>
</linearGradient>
<path style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_00000083796956185287615240000010885015769944861357_);" d="
M346.1,740.3c32.8,59.3,116.9,62.6,154,5.9l346.7-528.4c36.8-56,1.6-131.2-65-138.8L100.4,0.8C27.8-7.5-24,69.7,11.4,133.7
L346.1,740.3z"/>
<linearGradient id="SVGID_00000005978595599017039650000002259067875620926859_" gradientUnits="userSpaceOnUse" x1="759.6771" y1="79.3122" x2="219.4247" y2="1003.199" gradientTransform="matrix(1 0 0 -1 0 788)">
<stop offset="6.601250e-02" style="stop-color:#ABFFEF"/>
<stop offset="0.4499" style="stop-color:#CAC9FF"/>
<stop offset="1" style="stop-color:#6D4AFF"/>
</linearGradient>
<path style="fill:url(#SVGID_00000005978595599017039650000002259067875620926859_);" d="M396.4,638.7L365.6,685
c-12.5,18.7-40.4,17.6-51.2-2.1l31.7,57.5c5.7,10.2,12.8,18.8,21.1,25.7l0,0c39.3,33,102.2,27.1,133-19.8l346.7-528.4
c36.8-56,1.6-131.2-65-138.8L100.4,0.9C27.7-7.5-24,69.8,11.3,133.8l2.7,4.9l580.1,67.1c37,4.3,56.5,46,36,77.1L396.4,638.7z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

10
src/assets/vpnIcon.svg Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="6.3182mm" height="6.3183mm" version="1.1" viewBox="0 0 6.3182 6.3183" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(-45.871 -90.558)">
<g fill="#fff" stroke-width=".26458" aria-label="VPN">
<path d="m47.832 92.481q0.08819 0 0.15169 0.05997 0.06703 0.05644 0.06703 0.14464 0 0.04586-0.02117 0.09525l-0.87136 2.0391q-0.03175 0.07055-0.09172 0.10583-0.05645 0.03175-0.11642 0.03175-0.05644-0.0035-0.10936-0.03528-0.05292-0.03528-0.08114-0.09878l-0.87136-2.0461q-0.01058-0.02117-0.01411-0.04233-0.0035-0.0247-0.0035-0.04586 0-0.1023 0.07408-0.15522 0.07408-0.05644 0.14111-0.05644 0.13406 0 0.19403 0.13758l0.77258 1.8168-0.12347 0.0035 0.70908-1.8203q0.05997-0.13406 0.19403-0.13406z"/>
<path d="m49.229 92.488q0.18344 0 0.34219 0.10583 0.16228 0.10583 0.26106 0.28575 0.09878 0.17992 0.09878 0.40217 0 0.21872-0.09878 0.39864-0.09878 0.17992-0.26106 0.28928-0.15875 0.10583-0.34219 0.10583h-0.64911l0.03528-0.0635v0.73025q0 0.09172-0.05645 0.15522-0.05644 0.05997-0.14817 0.05997-0.08819 0-0.14464-0.05997-0.05644-0.0635-0.05644-0.15522v-2.0391q0-0.09172 0.05997-0.1517 0.0635-0.0635 0.15522-0.0635zm0 1.1853q0.06703 0 0.13053-0.05644 0.0635-0.05645 0.10583-0.14464 0.04233-0.09172 0.04233-0.1905 0-0.1023-0.04233-0.1905-0.04233-0.08819-0.10583-0.14111-0.0635-0.05644-0.13053-0.05644h-0.65617l0.04233-0.0635v0.89958l-0.03881-0.05644z"/>
<path d="m51.998 92.488q0.08467 0 0.13758 0.05644 0.05292 0.05644 0.05292 0.14111v2.0567q0 0.09172-0.0635 0.15522-0.05997 0.05997-0.1517 0.05997-0.04586 0-0.09525-0.01411-0.04586-0.01764-0.07056-0.04586l-1.3864-1.7604 0.09172-0.05644v1.6792q0 0.08467-0.05644 0.14111-0.05292 0.05644-0.14111 0.05644-0.08467 0-0.13758-0.05644-0.05292-0.05644-0.05292-0.14111v-2.0567q0-0.09172 0.05997-0.1517 0.0635-0.0635 0.15522-0.0635 0.04939 0 0.1023 0.02117 0.05292 0.01764 0.07761 0.05644l1.3441 1.7145-0.05997 0.04233v-1.6369q0-0.08467 0.05292-0.14111 0.05292-0.05644 0.14111-0.05644z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,99 @@
const attachDebugger = (tabId: number) => {
chrome.storage.local.get(
[
'ipData',
'timezone',
'timezoneMatchIP',
'lat',
'latitudeMatchIP',
'lon',
'longitudeMatchIP',
'locale',
'localeMatchIP',
'userAgent',
'platform',
'locationBrowserDefault',
'userAgentBrowserDefault',
],
(storage) => {
if (
(storage.timezone ||
storage.lat ||
storage.lon ||
storage.locale ||
storage.userAgent) &&
((storage.locationBrowserDefault !== undefined && !storage.locationBrowserDefault) || (storage.userAgentBrowserDefault !== undefined && !storage.userAgentBrowserDefault))
) {
chrome.debugger.attach({ tabId: tabId }, '1.3', () => {
if (!chrome.runtime.lastError) {
if (!storage.locationBrowserDefault) {
if (storage.timezone) {
chrome.debugger.sendCommand(
{ tabId: tabId },
'Emulation.setTimezoneOverride',
{
timezoneId: storage.timezone,
},
() => {
if (
chrome.runtime.lastError &&
chrome.runtime.lastError.message?.includes(
'Timezone override is already in effect'
)
) {
chrome.debugger.detach({ tabId })
}
}
)
}
if (storage.locale) {
chrome.debugger.sendCommand(
{ tabId: tabId },
'Emulation.setLocaleOverride',
{
locale: storage.locale,
}
)
}
if (storage.lat || storage.lon) {
chrome.debugger.sendCommand(
{ tabId: tabId },
'Emulation.setGeolocationOverride',
{
latitude: storage.lat
? parseFloat(storage.lat)
: storage.ipData.lat,
longitude: storage.lon
? parseFloat(storage.lon)
: storage.ipData.lon,
accuracy: 1,
}
)
}
}
if (
!storage.userAgentBrowserDefault &&
(storage.userAgent || storage.platform)
) {
chrome.debugger.sendCommand(
{ tabId: tabId },
'Emulation.setUserAgentOverride',
{
userAgent: storage.userAgent,
platform: storage.platform,
}
// { acceptLanguage: "en-CA" },
)
}
}
})
}
}
)
}
export default attachDebugger

View file

@ -1,4 +1,4 @@
import attachDebugger from '../utils/attachDebugger'
import attachDebugger from './attachDebugger'
const attachTab = (tabId: number) => {
chrome.debugger.getTargets((tabs) => {

4
src/custom.d.ts vendored Normal file
View file

@ -0,0 +1,4 @@
declare module '*.svg' {
const content: any
export default content
}

View file

@ -1,13 +1,15 @@
{
"manifest_version": 3,
"name": "Vytal - Spoof timezone, location & user agent",
"version": "2.1.0",
"description": "Spoof Timezone, Geolocation, Locale and User Agent.",
"version": "2.1.8",
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"author": "__MSG_extName__",
"default_locale": "en",
"permissions": ["storage", "debugger"],
"background": { "service_worker": "background.bundle.js" },
"action": {
"default_popup": "popup.html",
"default_icon": "icon32.png"
"default_icon": "icon48.png"
},
"icons": {
"128": "icon128.png"

88
src/popup/Popup.tsx Normal file
View file

@ -0,0 +1,88 @@
import { useState } from 'react'
import { ThemeProvider, Flex, Box } from 'theme-ui'
import { theme } from 'theme'
import {
Wifi,
MessageSquare,
FileText,
MapPin,
Globe,
Info,
Settings,
Sliders,
} from 'react-feather'
import VpnIcon from '../assets/vpnIcon.svg'
import TabItem from './TabItem'
import LocationPage from './pages/locationPage'
import UserAgentPage from './pages/userAgentPage'
import VpnPage from './pages/vpnPage'
import SettingsPage from './pages/settingsPage'
import '../assets/global.css'
const Popup = () => {
const [tab, setTab] = useState('location')
return (
<ThemeProvider theme={theme}>
<Flex sx={{ height: '100%' }}>
<Flex
sx={{
minWidth: '36px',
backgroundColor: 'primary',
alignItems: 'center',
flexDirection: 'column',
}}
>
{/* <TabItem
Icon={<Wifi size={20} />}
active={tab === 'vpn'}
onClick={() => setTab('vpn')}
/> */}
<TabItem
Icon={<MapPin size={20} />}
active={tab === 'location'}
onClick={() => setTab('location')}
/>
{/* <TabItem
Icon={<FileText size={20} />}
active={tab === 'vpn'}
onClick={() => setTab('vpn')}
/> */}
{/* <TabItem
Icon={<MessageSquare size={20} />}
active={tab === 'vpn'}
onClick={() => setTab('vpn')}
/> */}
<TabItem
Icon={<Globe size={20} />}
active={tab === 'userAgent'}
onClick={() => setTab('userAgent')}
/>
{/* <TabItem
Icon={<img src={VpnIcon} className="App-logo" alt="logo" />}
active={tab === 'vpn'}
onClick={() => setTab('vpn')}
/> */}
{/* <TabItem
Icon={<Sliders size={20} />}
active={tab === 'settings'}
onClick={() => setTab('settings')}
/> */}
<TabItem
Icon={<Info size={20} />}
active={tab === 'settings'}
onClick={() => setTab('settings')}
/>
</Flex>
<Box sx={{ m: '16px', width: '100%' }}>
<LocationPage tab={tab} />
<UserAgentPage tab={tab} />
{/* <VpnPage tab={tab} /> */}
<SettingsPage tab={tab} />
</Box>
</Flex>
</ThemeProvider>
)
}
export default Popup

View file

@ -1,7 +1,7 @@
import React from 'react'
import { Button } from 'theme-ui'
interface IconProps {
Icon: React.ElementType
Icon: React.ReactNode
active?: boolean
onClick: () => void
}
@ -11,7 +11,7 @@ const TabItem = ({ Icon, onClick, active }: IconProps) => {
<Button
sx={{
cursor: 'pointer',
width: '36px',
width: '36px',
height: '36px',
display: 'flex',
alignItems: 'center',
@ -24,7 +24,7 @@ const TabItem = ({ Icon, onClick, active }: IconProps) => {
}}
onClick={onClick}
>
<Icon size={20} />
{Icon}
</Button>
)
}

View file

@ -9,7 +9,7 @@ interface CheckBoxProps {
const CheckBox = ({ title, onChange, checked }: CheckBoxProps) => {
return (
<Label sx={{ mb: '8px' }}>
<Label sx={{ mb: '8px', cursor: 'pointer' }}>
<Checkbox onChange={onChange} checked={checked} />
{title}
</Label>

View file

@ -1,6 +1,6 @@
import { Dispatch, SetStateAction, ChangeEvent, useMemo } from 'react'
import { Label, Input } from 'theme-ui'
import detachDebugger from '../../utils/detachDebugger'
import { Label, Input, Box } from 'theme-ui'
import detachDebugger from 'utils/detachDebugger'
import debounce from 'lodash.debounce'
interface DebouncedInputProps {
@ -10,6 +10,7 @@ interface DebouncedInputProps {
setValue: Dispatch<SetStateAction<string>>
onChange: () => void
mb?: string
type?: string
}
const DebouncedInput = ({
@ -19,6 +20,7 @@ const DebouncedInput = ({
setValue,
onChange,
mb,
type = 'text',
}: DebouncedInputProps) => {
const debouncedChangeHandler = useMemo(
() =>
@ -36,10 +38,16 @@ const DebouncedInput = ({
}
return (
<>
<Box>
<Label htmlFor={name}>{title}</Label>
<Input name={name} value={value} onChange={changeInputText} mb={mb} />
</>
<Input
name={name}
value={value}
onChange={changeInputText}
mb={mb}
type={type}
/>
</Box>
)
}

View file

@ -0,0 +1,20 @@
import { Box } from 'theme-ui'
const FooterLink = () => {
return (
<Box
sx={{
color: 'text',
mb: '8px',
fontSize: '11px',
position: 'fixed',
bottom: '0',
}}
>
Vytal does not change your IP address. To change your IP address you will
need a VPN or proxy.
</Box>
)
}
export default FooterLink

View file

@ -1,39 +1,63 @@
import { useState, useEffect, ChangeEvent } from 'react'
import { Box, Flex, Label, Radio, Select } from 'theme-ui'
import Page from '../../Components/Page'
import DebouncedInput from '../../Components/DebouncedInput'
import detachDebugger from '../../../utils/detachDebugger'
import countryLocales from '../../../utils/countryLocales'
import configurations from '../../../utils/configurations'
import FooterLink from '../../Components/FooterLink'
import { ipData } from '../../../types'
import getIp from '../../../utils/getIp'
import { useState, useEffect, ChangeEvent, useCallback } from 'react'
import { Box, Flex, Label, Select } from 'theme-ui'
import Page from 'popup/components/Page'
import Checkbox from 'popup/components/CheckBox'
import DebouncedInput from 'popup/components/DebouncedInput'
import detachDebugger from 'utils/detachDebugger'
import countryLocales from 'utils/countryLocales'
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";
interface LocationPageProps {
tab: string
}
const LocationPage = ({ tab }: LocationPageProps) => {
const [browserDefault, setBrowserDefault] = useState(true)
const [ipData, setIpData] = useState<ipData>()
const [locationType, setLocationType] = useState('')
const [ipInfo, setIpInfo] = useState('loading...')
const [timezone, setTimezone] = useState('')
const [locale, setLocale] = useState('')
const [lat, setLatitude] = useState('')
const [lon, setLongitude] = useState('')
const [configuration, setConfiguration] = useState('custom')
useEffect(() => {
getIp().then((ipDataRes) => {
setIpData(ipDataRes)
})
polyfillCountryFlagEmojis();
const reloadIp = useCallback(() => {
setIpInfo('loading...')
getIp()
.then((ipDataRes) => {
setIpData(ipDataRes)
setIpInfo(`${getFlagEmoji(ipDataRes.countryCode)} ${ipDataRes.query}`)
})
.catch(() => {
setIpInfo('error')
})
}, [])
useEffect(() => {
reloadIp()
}, [reloadIp])
useEffect(() => {
chrome.storage.local.get(
['locationType', 'configuration', 'timezone', 'locale', 'lat', 'lon'],
[
'locationBrowserDefault',
'configuration',
'timezone',
'locale',
'lat',
'lon',
],
(storage) => {
if (storage.locationType === 'matchIp' && ipData) {
storage.configuration && setConfiguration(storage.configuration)
storage.locationBrowserDefault !== undefined &&
setBrowserDefault(storage.locationBrowserDefault)
if (storage.configuration === 'matchIp' && ipData) {
setTimezone(ipData.timezone)
setLocale(countryLocales[ipData.countryCode].locale)
setLatitude(`${ipData.lat}`)
@ -44,37 +68,31 @@ const LocationPage = ({ tab }: LocationPageProps) => {
lat: ipData.lat,
lon: ipData.lon,
})
} else if (storage.locationType === 'custom') {
storage.configuration && setConfiguration(storage.configuration)
} else {
storage.timezone && setTimezone(storage.timezone)
storage.locale && setLocale(storage.locale)
storage.lat && setLatitude(storage.lat)
storage.lon && setLongitude(storage.lon)
}
storage.locationType
? setLocationType(storage.locationType)
: setLocationType('default')
}
)
}, [ipData])
const changeType = (e: ChangeEvent<HTMLInputElement>) => {
const changeBrowserDefault = () => {
detachDebugger()
setLocationType(e.target.value)
chrome.storage.local.set({ locationType: e.target.value })
chrome.storage.local.set({
locationBrowserDefault: !browserDefault,
})
setBrowserDefault(!browserDefault)
}
if (e.target.value === 'default') {
setTimezone('')
setLocale('')
setLatitude('')
setLongitude('')
chrome.storage.local.set({
timezone: '',
locale: '',
lat: '',
lon: '',
})
} else if (e.target.value === 'matchIp') {
const changeConfiguration = (e: ChangeEvent<HTMLSelectElement>) => {
detachDebugger()
setConfiguration(e.target.value)
chrome.storage.local.set({
configuration: e.target.value,
})
if (e.target.value === 'matchIp') {
if (ipData) {
setTimezone(ipData.timezone)
setLocale(countryLocales[ipData.countryCode].locale)
@ -88,28 +106,17 @@ const LocationPage = ({ tab }: LocationPageProps) => {
})
}
} else if (e.target.value === 'custom') {
if (configuration !== 'custom') {
setTimezone(configurations[configuration].timezone)
setLocale(configurations[configuration].locale)
setLatitude(configurations[configuration].lat)
setLongitude(configurations[configuration].lon)
chrome.storage.local.set({
timezone: configurations[configuration].timezone,
locale: configurations[configuration].locale,
lat: configurations[configuration].lat,
lon: configurations[configuration].lon,
})
}
}
}
const changeConfiguration = (e: ChangeEvent<HTMLSelectElement>) => {
detachDebugger()
setConfiguration(e.target.value)
chrome.storage.local.set({
configuration: e.target.value,
})
if (e.target.value !== 'custom') {
setTimezone('')
setLocale('')
setLatitude('')
setLongitude('')
chrome.storage.local.set({
timezone: '',
locale: '',
lat: '',
lon: '',
})
} else {
setTimezone(configurations[e.target.value].timezone)
setLocale(configurations[e.target.value].locale)
setLatitude(configurations[e.target.value].lat)
@ -124,12 +131,10 @@ const LocationPage = ({ tab }: LocationPageProps) => {
}
const changeInputText = () => {
if (locationType !== 'custom' || configuration !== 'custom') {
if (configuration !== 'custom') {
setConfiguration('custom')
setLocationType('custom')
chrome.storage.local.set({
configuration: 'custom',
locationType: 'custom',
})
}
}
@ -144,41 +149,17 @@ const LocationPage = ({ tab }: LocationPageProps) => {
return (
<Page isCurrentTab={tab === 'location'} title={'Location Data'}>
<Flex
<Checkbox
title="Use browser default"
onChange={changeBrowserDefault}
checked={browserDefault}
/>
<Box
sx={{
justifyContent: 'space-between',
mb: '8px',
opacity: browserDefault ? '0.5' : '1',
pointerEvents: browserDefault ? 'none' : 'auto',
}}
>
<Label>
<Radio
name="locationType"
value="default"
onChange={changeType}
checked={locationType === 'default'}
/>
Default
</Label>
<Label>
<Radio
name="locationType"
value="matchIp"
onChange={changeType}
checked={locationType === 'matchIp'}
/>
Match IP
</Label>
<Label>
<Radio
name="locationType"
value="custom"
onChange={changeType}
checked={locationType === 'custom'}
/>
Custom
</Label>
</Flex>
{locationType === 'matchIp' && (
<Flex
sx={{
border: '1px solid',
@ -202,9 +183,7 @@ const LocationPage = ({ tab }: LocationPageProps) => {
}}
title={ipData?.query}
>
{ipData
? `${getFlagEmoji(ipData.countryCode)} ${ipData?.query}`
: 'loading...'}
{ipInfo}
</Box>
<RotateCw
size={20}
@ -212,62 +191,73 @@ const LocationPage = ({ tab }: LocationPageProps) => {
cursor: 'pointer',
}}
onClick={() => {
setIpData(undefined)
getIp().then((ipDataRes) => {
setIpData(ipDataRes)
})
reloadIp()
}}
/>
</Flex>
)}
{locationType === 'custom' && (
<>
<Label htmlFor="configuration">Configuration</Label>
<Select
name="configuration"
value={configuration}
onChange={changeConfiguration}
mb={'8px'}
>
<option value="custom">Custom</option>
<Label htmlFor="configuration">Configuration</Label>
<Select
name="configuration"
value={configuration}
onChange={changeConfiguration}
mb={'8px'}
>
<option value="matchIp">Match IP Address</option>
<option value="custom">Custom</option>
<optgroup label="Locations">
{Object.keys(configurations).map((key) => (
<option value={key} key={key}>
{configurations[key].name}
</option>
))}
</Select>
</>
)}
<DebouncedInput
name="timezone"
title="Timezone"
value={timezone}
setValue={setTimezone}
onChange={changeInputText}
/>
<DebouncedInput
name="locale"
title="Locale"
value={locale}
setValue={setLocale}
onChange={changeInputText}
/>
<DebouncedInput
name="lat"
title="Latitude"
value={lat}
setValue={setLatitude}
onChange={changeInputText}
/>
<DebouncedInput
name="lon"
title="Longitude"
value={lon}
setValue={setLongitude}
onChange={changeInputText}
mb="12px"
/>
<FooterLink />
</optgroup>
</Select>
<DebouncedInput
name="timezone"
title="Timezone"
value={timezone}
setValue={setTimezone}
onChange={changeInputText}
/>
<DebouncedInput
name="locale"
title="Locale"
value={locale}
setValue={setLocale}
onChange={changeInputText}
/>
<Flex sx={{ gap: '12px' }}>
<DebouncedInput
name="lat"
title="Latitude"
value={lat}
setValue={setLatitude}
onChange={changeInputText}
type="number"
/>
<DebouncedInput
name="lon"
title="Longitude"
value={lon}
setValue={setLongitude}
onChange={changeInputText}
mb="12px"
type="number"
/>
</Flex>
</Box>
<Box
sx={{
color: 'text',
mb: '8px',
fontSize: '11px',
position: 'fixed',
bottom: '0',
}}
>
Vytal does not change your IP address. To change your IP address you
will need a VPN or proxy.
</Box>
</Page>
)
}

View file

@ -5,7 +5,7 @@ interface InfoItemProps {
children: React.ReactNode
}
const SettingsPage = ({ title, children }: InfoItemProps) => {
const InfoItem = ({ title, children }: InfoItemProps) => {
return (
<Box sx={{ mb: '12px' }}>
<Flex sx={{ fontWeight: '700', mb: '2px' }}>{title}</Flex>
@ -14,4 +14,4 @@ const SettingsPage = ({ title, children }: InfoItemProps) => {
)
}
export default SettingsPage
export default InfoItem

View file

@ -1,12 +1,12 @@
import { Link, Text } from 'theme-ui'
import Page from '../../Components/Page'
import Page from 'popup/components/Page'
import InfoItem from './InfoItem'
interface SystemPageProps {
interface SettingsPageProps {
tab: string
}
const SettingsPage = ({ tab }: SystemPageProps) => {
const SettingsPage = ({ tab }: SettingsPageProps) => {
return (
<Page isCurrentTab={tab === 'settings'} title={'Info'}>
<InfoItem title={'Hide Debugging Notification Bar'}>
@ -26,26 +26,10 @@ const SettingsPage = ({ tab }: SystemPageProps) => {
.
</InfoItem>
<InfoItem title={'Change IP Address'}>
Vytal does not change your IP address. To change your IP you will need a
VPN such as{' '}
<Link
variant="hover"
href={`https://go.nordvpn.net/aff_c?offer_id=15&aff_id=79520&url_id=902`}
target="_blank"
>
NordVPN
</Link>{' '}
or{' '}
<Link
variant="hover"
href={`https://go.getproton.me/aff_c?offer_id=26&aff_id=3825`}
target="_blank"
>
ProtonVPN
</Link>
.
Vytal does not change your IP address. To change your IP address you
will need a VPN or proxy.
</InfoItem>
<InfoItem title={'Vytal vs Similar Extensions'}>
{/* <InfoItem title={'Vytal vs Similar Extensions'}>
Vytal utilizes the debugger API to spoof data which is completely
undetectable. Other similar extensions rely on{' '}
<Link
@ -56,14 +40,33 @@ const SettingsPage = ({ tab }: SystemPageProps) => {
inferior script tag injections
</Link>
.
</InfoItem>
</InfoItem> */}
<InfoItem title={'Test Extension'}>
You can test and compare Vytal and other spoofing extensions on{' '}
<Link variant="hover" href={`https://vytal.io`} target="_blank">
<Link variant="hover" href={`https://vytal.io/#/scan`} target="_blank">
vytal.io
</Link>
.
</InfoItem>
<InfoItem title={'Support Us'}>
If you like this extension and wish to support us you can{' '}
<Link
variant="hover"
href={`https://chrome.google.com/webstore/detail/vytal-spoof-timezone-loca/ncbknoohfjmcfneopnfkapmkblaenokb?utm_source=rate`}
target="_blank"
>
rate the extension
</Link>{' '}
or{' '}
<Link
variant="hover"
href={`https://vytal.io/#/donate`}
target="_blank"
>
donate
</Link>
.
</InfoItem>
</Page>
)
}

View file

@ -0,0 +1,122 @@
import { useState, useEffect, ChangeEvent } from 'react'
import { Box, Label, Select } from 'theme-ui'
import Checkbox from 'popup/components/CheckBox'
import DebouncedInput from 'popup/components/DebouncedInput'
import userAgents from 'utils/userAgents'
import detachDebugger from 'utils/detachDebugger'
import Page from 'popup/components/Page'
interface UserAgentPageProps {
tab: string
}
const UserAgentPage = ({ tab }: UserAgentPageProps) => {
const [browserDefault, setBrowserDefault] = useState(true)
const [userAgentInfo, setUserAgentInfo] = useState('')
const [userAgent, setUserAgent] = useState('')
const [platform, setPlatform] = useState('')
useEffect(() => {
chrome.storage.local.get(
['userAgentBrowserDefault', 'userAgentInfo', 'userAgent', 'platform'],
(storage) => {
storage.userAgentBrowserDefault !== undefined &&
setBrowserDefault(storage.userAgentBrowserDefault)
storage.userAgentInfo && setUserAgentInfo(storage.userAgentInfo)
storage.userAgent && setUserAgent(storage.userAgent)
storage.platform && setPlatform(storage.platform)
}
)
}, [])
const changeBrowserDefault = () => {
detachDebugger()
chrome.storage.local.set({
userAgentBrowserDefault: !browserDefault,
})
setBrowserDefault(!browserDefault)
}
const changeUserAgentInfo = async (e: ChangeEvent<HTMLSelectElement>) => {
detachDebugger()
setUserAgentInfo(e.target.value)
chrome.storage.local.set({
userAgentInfo: e.target.value,
})
if (e.target.value !== 'custom') {
const userAgentObj = JSON.parse(e.target.value)
setUserAgent(userAgentObj.value)
setPlatform(userAgentObj.platform)
chrome.storage.local.set({
userAgent: userAgentObj.value,
platform: userAgentObj.platform,
})
}
}
const changeTextInput = () => {
if (userAgentInfo !== 'custom') {
setUserAgentInfo('custom')
chrome.storage.local.set({
userAgentType: 'custom',
})
}
}
return (
<Page isCurrentTab={tab === 'userAgent'} title={'User Agent'}>
<Checkbox
title="Use browser default"
onChange={changeBrowserDefault}
checked={browserDefault}
/>
<Box
sx={{
opacity: browserDefault ? '0.5' : '1',
pointerEvents: browserDefault ? 'none' : 'auto',
}}
>
<Box sx={{ width: '100%' }}>
<Label htmlFor="type">Type</Label>
<Select
name="type"
id="type"
value={userAgentInfo}
onChange={changeUserAgentInfo}
mb={'8px'}
>
<option value="custom">Custom</option>
{Object.keys(userAgents).map((key) => (
<optgroup key={key} label={userAgents[key].title}>
{userAgents[key].values.map((key: any) => (
<option key={key.value} value={JSON.stringify(key)}>
{key.title}
</option>
))}
</optgroup>
))}
</Select>
</Box>
<DebouncedInput
name="userAgent"
title="User Agent"
value={userAgent}
setValue={setUserAgent}
onChange={changeTextInput}
mb="12px"
/>
<DebouncedInput
name="platform"
title="Platform"
value={platform}
setValue={setPlatform}
onChange={changeTextInput}
mb="12px"
/>
</Box>
</Page>
)
}
export default UserAgentPage

View file

@ -0,0 +1,43 @@
import { Box, Link } from 'theme-ui'
interface VpnItemProps {
url: string
children: React.ReactNode
}
const VpnItem = ({ url, children }: VpnItemProps) => {
return (
<Link
href={url}
sx={{
border: '1px solid',
borderRadius: '4px',
borderColor: 'grey',
p: '16px',
mb: '16px',
display: 'block',
textDecoration: 'none',
color: 'text',
'&:hover': {
borderColor: 'primary',
},
}}
target="_blank"
>
{children}
<Box
sx={{
color: 'primaryDark',
textDecoration: 'none',
'&:hover': {
textDecoration: 'underline',
},
}}
>
Learn more
</Box>
</Link>
)
}
export default VpnItem

View file

@ -0,0 +1,32 @@
import { Box, Image } from 'theme-ui'
import Page from 'popup/components/Page'
import VpnItem from './VpnItem'
import nordLogo from 'assets/nord.svg'
import protonLogo from 'assets/proton.svg'
interface VpnPageProps {
tab: string
}
const VpnPage = ({ tab }: VpnPageProps) => {
return (
<Page isCurrentTab={tab === 'vpn'} title={'VPN Recommendations'}>
<VpnItem url="https://go.nordvpn.net/aff_c?offer_id=658&aff_id=79520">
<Image src={nordLogo} alt="Vpn logo" variant="vpnLogo" />
<li>Verified zero-logs policy & no IP leaks</li>
<li>5,600+ servers in 59 countries</li>
<li>24/7 live chat support</li>
</VpnItem>
<VpnItem url="https://go.getproton.me/aff_c?offer_id=26&aff_id=3825">
<Image src={protonLogo} alt="Proton logo" variant="vpnLogo" />
<Box>
<li>Verified zero-logs policy & no IP leaks</li>
<li>1,885 servers in 67 countries</li>
<li>All apps are open-source & audited</li>
</Box>
</VpnItem>
</Page>
)
}
export default VpnPage

View file

@ -19,12 +19,14 @@ export const theme: Theme = {
fontSize: '18px',
lineHeight: '22px',
margin: '0',
li: {
mb: '4px',
},
},
},
forms: {
label: { width: 'auto', alignItems: 'center' },
input: {
// border: '2px solid',
p: '4px 8px',
mb: '8px',
borderColor: 'grey',
@ -34,7 +36,6 @@ export const theme: Theme = {
},
},
select: {
// border: '2px solid',
cursor: 'pointer',
p: '4px 8px',
borderColor: 'grey',
@ -67,6 +68,15 @@ export const theme: Theme = {
p: 0,
m: 0,
},
text: {
all: 'unset',
cursor: 'pointer',
color: 'primaryDark',
textDecoration: 'none',
'&:hover': {
textDecoration: 'underline',
},
},
},
links: {
footer: {
@ -81,4 +91,11 @@ export const theme: Theme = {
},
},
},
images: {
vpnLogo: {
height: '28px',
width: 'auto',
mb: '6px',
},
},
}

Some files were not shown because too many files have changed in this diff Show more