Skip to content

Commit 3f168c1

Browse files
save file
1 parent ac65dd7 commit 3f168c1

File tree

1 file changed

+17
-24
lines changed

1 file changed

+17
-24
lines changed

blog/25-12-04/bypass-csp/bypass-csp.html

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
{font-family:pacifico}
212212

213213
.br
214-
{margin-top: 1.5em}
214+
{margin-top:1em}
215215

216216
</style>
217217

@@ -233,69 +233,62 @@ <h1 class=title style='position:absolute;left:0;right:0;margin:auto;top:-10px'>
233233

234234
<div class=description>
235235
<p>
236-
I was in the process of answer this question
237-
<br>
238-
<br>
236+
I was in the process of answer this question<br>
237+
<div class=br></div>
239238
<a href='https://stackoverflow.com/questions/79833235/is-it-possible-to-connect-to-a-local-python-server-using-secure-web-sockets-from'>
240239
Is it possible to connect to a local Python server using secure web sockets from a browser console on an HTTPS webpage?
241240
<span class=link-domain>
242241
stackoverflow.com
243242
</span>
244-
</a>
245-
<br>
246-
<br>
243+
</a><br>
244+
<div class=br></div>
247245
but i didnt qant to get -1'd for no reason ...
248246
<a href='https://stackoverflow.com/questions/28099493/running-ffmpeg-in-browser-options/79820132#79820132'>
249247
Running ffmpeg in browser - options?
250248
<span class=link-domain>
251249
stackoverflow.com
252250
</span>
253-
</a>
254-
<br>
255-
<br>
256-
so i thought i'd write a blog post about it anyway
257-
<br>
258-
<br>
251+
</a><br>
252+
<div class=br></div>
253+
so i thought i'd write a blog post about it anyway<br>
254+
<div class=br></div>
259255
Discover how to overcome the content-security-policy for a website.
260256
</p>
261257
</div>
262258

263259

264-
<h3 class=blog-hdr>
260+
<h3 class=blog-hdr style='margin-bottom:0'>
265261
Manifest v2
266262
</h3>
267263

268264
<section class=blog-text>
269265
so right off the bat, manifest v2 is capable of removing the contest-security-policy on a web request<br>
270266
firefox still ( currently, at the time of writing ) supports manifest v2, it has the bindings for manifest v3 but
271-
they are just stubs that do nothing<br>
272-
273-
<div class=br></div>
274-
267+
they are just stubs that do nothing<br>
268+
<div class=br></div>
275269
chromium and hence google chrome, edge, brave, opera and any of the myriad of browsers that are based on chromium do
276270
not support manifest v2<br>
277-
<br>
271+
<div class=br></div>
278272
google's official stance on manifest v3 changes<br>
279-
<br>
273+
<div class=br></div>
280274
To prevent extensions from weakening site security. Allowing CSP removal would undermine protections against XSS and remote code injection.<br>
281-
<br>
275+
<div class=br></div>
282276
<a href='https://developer.chrome.com/docs/extensions/migrating/improve-security/'>
283277
Improve extension security
284278
<span class=link-domain>
285279
developer.chrome.com
286280
</span>
287281
</a>
288-
<br>
282+
<div class=br></div>
289283
for those who wish to develop using the old manifest v2, previous versions of chromium can be downloaded from<br>
290284
<a href='https://www.chromium.org/getting-involved/download-chromium/#downloading-old-builds-of-chrome-chromium'>
291285
Downloading old builds of Chrome / Chromium
292286
<span class=link-domain>
293287
chromium.org
294288
</span>
295289
</a>
296-
<br>
290+
<div class=br></div>
297291
manifest V3 is supported generally in Chrome 88 ( January 19th, 2021 ) or later.<br>
298-
<br>
299292
</section>
300293

301294

0 commit comments

Comments
 (0)