Skip to content

Commit a52f4bf

Browse files
save file
1 parent 8600c84 commit a52f4bf

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

utils/browser-extensions/cors/cors.html

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,41 @@
6363
<script src='https://libs.ext-code.com/js/dom/component/v2.0/component.js?init'></script>
6464

6565
<style>
66-
6766
html
6867
{font-family:arial}
69-
7068
body
71-
{display:flex;flex-direction:column;gap:20px}
69+
{display:flex;flex-direction:column;gap:20px;margin:20px;align-items:center;
70+
padding-bottom:200px}
71+
body>*
72+
{max-width:1400px;width:100%}
73+
74+
[component],config
75+
{display:none}
76+
77+
.description
78+
{max-width:1000px;text-align:justify;border-left:4px solid #4a90e2;padding:1rem 2rem;
79+
background-color:#f9f9f9;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.6;color:#333}
80+
.description>p
81+
{margin:0}
82+
.description > p+p
83+
{margin:10px 0}
84+
7285

7386
#hdr
7487
{display:flex;justify-content:space-between}
88+
#hdr a:first-of-type
89+
{margin-right:20px}
7590

7691
.desc
7792
{margin:20px 0}
7893

7994
#download-root
80-
{display:flex;gap:30px;margin-left:50px}
95+
{display:flex;gap:30px;margin-left:50px;justify-content:center;margin-top:30px}
8196
.download
82-
{text-decoration:underline;cursor:pointer;border:1px solid lightgray;padding:5px 10px;border-radius:5px}
97+
{text-decoration:underline;cursor:pointer;border:1px solid lightgray;padding:10px 20px;border-radius:5px}
8398

8499
#tabs
85-
{display:flex;margin-top:50px}
100+
{display:flex;margin-top:30px}
86101
#tabs>div
87102
{flex:1;text-align:center;padding:7px 20px;cursor:pointer}
88103

@@ -103,6 +118,9 @@
103118
<a href='/'>
104119
home
105120
</a>
121+
<a href='../'>
122+
browser extensions
123+
</a>
106124
</div>
107125

108126
<h3>
@@ -115,7 +133,7 @@ <h3>
115133
</div>
116134

117135

118-
<div class=desc>
136+
<div class=description>
119137
<p>
120138
very simple extension to add cors headers to all requests from all urls, meant for dev purposes,
121139
sometimes simple is best.

0 commit comments

Comments
 (0)