Skip to content

Commit 98d15a6

Browse files
save file
1 parent 10e2faa commit 98d15a6

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

utils/browser-extensions/cors/cors.html

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@
4646
{margin-top:50px}
4747

4848
#tabs
49-
{display:flex}
49+
{display:flex;margin-bottom:10px}
5050
#tabs>div
51-
{flex:1;border:1px solid gray;background:whitesmoke;text-align:center;padding:5px 10px;cursor:pointer}
51+
{flex:1;text-align:center;padding:5px 10px;cursor:pointer}
5252

5353
.active
54-
{background:lightyellow;border-color:lightblue}
54+
{background:lightyellow;border:1px solid lightblue}
55+
.inactive
56+
{border:1px solid gray;background:whitesmoke}
5557

5658
</style>
5759

@@ -78,7 +80,15 @@ <h3>
7880

7981

8082
<div class=desc>
81-
add cors headers to requests
83+
<p>
84+
very sime extension to add cors headers to all requests from all urls, meant for dev purposes,
85+
sometimes simple is best.
86+
</p>
87+
<p>
88+
NB : some sites can break when an extension injects cors headers, if a website begins acting strange remember to disable
89+
this cors extension. A ui could and may be developed to allow inclusion and exclusion domains, but for now its just meant
90+
be simple and easy.
91+
</p>
8292
</div>
8393

8494

@@ -97,7 +107,7 @@ <h3>
97107
<div class=active>
98108
chrome
99109
</div>
100-
<div>
110+
<div class=inactive>
101111
firefox
102112
</div>
103113
</div>

0 commit comments

Comments
 (0)