mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 10:33:25 +00:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d989fd1ee8 | ||
|
03e7649bc1 | ||
|
ec4e3b7392 | ||
|
ce31771e5f | ||
|
a84eb7b0e5 | ||
|
2ea2208dea | ||
|
6a3d32dcc3 |
@@ -6,6 +6,7 @@ const icons = {
|
||||
windows: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M432 64H208c-8.8 0-16 7.2-16 16V96H128V80c0-44.2 35.8-80 80-80H432c44.2 0 80 35.8 80 80V304c0 44.2-35.8 80-80 80H416V320h16c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192zm64 32c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32 14.3-32 32z"/></svg>`,
|
||||
shield: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM160 154.4c0-5.8 4.7-10.4 10.4-10.4h.2c3.4 0 6.5 1.6 8.5 4.3l40 53.3c3 4 7.8 6.4 12.8 6.4h48c5 0 9.8-2.4 12.8-6.4l40-53.3c2-2.7 5.2-4.3 8.5-4.3h.2c5.8 0 10.4 4.7 10.4 10.4V272c0 53-43 96-96 96s-96-43-96-96V154.4zM216 288a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm96-16a16 16 0 1 0 -32 0 16 16 0 1 0 32 0z"/></svg>`,
|
||||
logo: `<svg width="1em" height="1em" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.2254 4.95486L10.5285 5.65174L9.83162 4.95486L10.5285 4.25799L7.7414 1.4709L7.04453 2.16777L6.34766 1.4709L7.04453 0.774022L6.34766 0.0771484L0.0761918 6.34861L0.773066 7.04549L1.46994 6.34861L2.16681 7.04549L1.46994 7.74236L4.25743 10.5299L4.95431 9.83298L5.65118 10.5299L4.95431 11.2267L5.65118 11.9236L11.9226 5.65214L11.2254 4.95486ZM2.86529 6.35021L2.16681 5.65174L2.86369 4.95487L3.56056 5.65174L2.86529 6.35021ZM4.25904 4.95647L3.56056 4.25799L4.25703 3.56152L4.95391 4.25839L4.25904 4.95647ZM5.65278 3.56272L4.95431 2.86424L5.65078 2.16777L6.34766 2.86464L5.65278 3.56272ZM6.34766 9.83258L5.65078 9.13571L6.34766 8.43883L7.04453 9.13571L6.34766 9.83258ZM7.7414 8.43883L7.04453 7.74196L7.741 7.04549L8.43788 7.74236L7.7414 8.43883ZM9.13515 7.04509L8.43828 6.34821L9.13475 5.65174L9.83162 6.34861L9.13515 7.04509Z" fill="currentColor"/></svg>`,
|
||||
network: `<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 640 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"/></svg>`,
|
||||
};
|
||||
|
||||
export type Icons = keyof typeof icons;
|
||||
|
@@ -17,7 +17,7 @@ export function SetupScreen() {
|
||||
<div className="icon">
|
||||
<Icon name="logo" />
|
||||
</div>
|
||||
<h1 className="title">Le's get this set up!</h1>
|
||||
<h1 className="title">Let's get this set up!</h1>
|
||||
<p className="paragraph" style={{ paddingBottom: 25, paddingTop: 10 }}>
|
||||
To get started, we need to setup some things first. Click the button below to continue.
|
||||
</p>
|
||||
|
@@ -11,7 +11,9 @@ body {
|
||||
}
|
||||
|
||||
#__plasmo {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100%;
|
||||
background-color: #0A0A10;
|
||||
}
|
||||
|
||||
|
@@ -16,6 +16,11 @@ body {
|
||||
max-width: 628px;
|
||||
}
|
||||
|
||||
.permission-request .inner-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.permission-request h1 {
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
@@ -56,6 +61,12 @@ body {
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 550px) {
|
||||
.permission-request .card {
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto auto auto;
|
||||
}
|
||||
}
|
||||
|
||||
.permission-request .card .icon-circle {
|
||||
width: 2rem;
|
||||
|
@@ -48,33 +48,48 @@ export default function PermissionRequest() {
|
||||
>
|
||||
<h3>Read the source code on GitHub</h3>
|
||||
<p className="text-color paragraph">
|
||||
Don't trust us? Read the code and choose for yourself if its safe!
|
||||
Don't trust us? Read the code and decide for yourself if it's safe!
|
||||
</p>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
<h2>Permission list</h2>
|
||||
<div className="card-list" style={{ paddingBottom: '10rem' }}>
|
||||
<div className="card-list">
|
||||
<Card icon={<Icon name="windows" />}>
|
||||
<h3>Read & change data from all sites</h3>
|
||||
<p className="text-color paragraph">
|
||||
To be able to gather content from the sources. We need to be able to reach those sources. Unfortunately
|
||||
that requires us to request the permissions from all sites.
|
||||
This is so the extension can gather content from the sources. We need to be able to reach those sources.
|
||||
Unfortunately that requires us to request the permissions from all sites.
|
||||
</p>
|
||||
</Card>
|
||||
<Card icon={<Icon name="network" />}>
|
||||
<h3>Network Requests</h3>
|
||||
<p className="text-color paragraph">
|
||||
This permission allows the extension to instruct the browser how to request data from sites. In more
|
||||
technical terms, this allows movie-web to modify HTTP headers that it wouldn't normally be allowed
|
||||
to.
|
||||
</p>
|
||||
<p className="text-color paragraph">
|
||||
You won't be prompted for this permission, it's included in “Read & change data from all sites”.
|
||||
</p>
|
||||
</Card>
|
||||
<Card icon={<Icon name="cookie" />}>
|
||||
<h3>Read and write cookies</h3>
|
||||
<p className="text-color paragraph">
|
||||
Some sources use cookies for authentication. We need to be able to read and set those cookies. This
|
||||
won't be prompted to you, it's included in “Read & change data from all sites”.
|
||||
Some sources use cookies for authentication. We need to be able to read and set those cookies.
|
||||
</p>
|
||||
<p className="text-color paragraph">
|
||||
You won't be prompted for this permission, it's included in “Read & change data from all sites”.
|
||||
</p>
|
||||
</Card>
|
||||
<Card icon={<Icon name="shield" />}>
|
||||
<h3>Active tab</h3>
|
||||
<p className="text-color paragraph">
|
||||
To determine which site has access to the extension or not, we need to know what tab you're currently
|
||||
using. This permission is given to all extensions by default, so your browser won't prompt you for
|
||||
it.
|
||||
using.
|
||||
</p>
|
||||
<p className="text-color paragraph">
|
||||
This permission is given to all extensions by default, so your browser won't prompt you for it.
|
||||
</p>
|
||||
</Card>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user