Skip to content

Commit 0d339c3

Browse files
save file
1 parent cc03b23 commit 0d339c3

File tree

1 file changed

+61
-3
lines changed

1 file changed

+61
-3
lines changed

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

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,69 @@ <h1 class=title style='position:absolute;left:0;right:0;margin:auto;top:-10px'>
222222

223223

224224
<h3 class=blog-hdr>
225-
ipc socket servers
225+
Manidest v2
226226
</h3>
227227

228-
229-
228+
<section class=blog-text>
229+
so right off the bat, manifest v2 is capable of removing the contest-security-policy on a web request<br>
230+
<br>
231+
firefox still ( currently, at the time of writing ) supports manifest v2, it has the bindings for manifest v3 but
232+
they are just stubs that do nothing<br>
233+
<br>
234+
chromium and hence google chrome, edge, brave, opera and any of the myriad of browsers that are based on chromium do
235+
not support manifest v2<br>
236+
<br>
237+
google's official stance on manifest v3 changes<br>
238+
<br>
239+
To prevent extensions from weakening site security. Allowing CSP removal would undermine protections against XSS and remote code injection.<br>
240+
<br>
241+
<a href='https://developer.chrome.com/docs/extensions/migrating/improve-security/'>
242+
Improve extension security
243+
<span class=link-domain>
244+
developer.chrome.com
245+
</span>
246+
</a>
247+
<br>
248+
for those who wish to develop using the old manifest v2, previous versions of chromium can be downloaded from<br>
249+
<a href='https://www.chromium.org/getting-involved/download-chromium/#downloading-old-builds-of-chrome-chromium'>
250+
Downloading old builds of Chrome / Chromium
251+
<span class=link-domain>
252+
chromium.org
253+
</span>
254+
</a>
255+
<br>
256+
manifest V3 is supported generally in Chrome 88 ( January 19th, 2021 ) or later.<br>
257+
<br>
258+
</section>
259+
260+
261+
<section class=blog-text>
262+
<h3 class=blog-hdr>
263+
Firefox Manifest v2 Extension Remove CSP
264+
</h3>
265+
266+
<img src='ext/firefox/cubes.png'>
267+
268+
<snippet-editor src='ext/firefox/manifest.json' mode=json fullsize component></snippet-editor>
269+
270+
<snippet-editor src='ext/firefox/extension.js' mode=js fullsize component></snippet-editor>
271+
</section>
272+
273+
274+
<section class=blog-text>
275+
<h3 class=bog-hdr>
276+
Google Chrome v3 Extension Remove CSP ( doesn't work )
277+
</h3>
278+
279+
<img src='ext/chrome/cubes.png'>
280+
281+
<snippet-editor src='ext/chrome/manifest.json' mode=json fullsize component></snippet-editor>
282+
283+
<snippet-editor src='ext/chrome/extension.js' mode=js fullsize component></snippet-editor>
284+
</section>
285+
286+
287+
230288

231289

232290
<log-mod component></log-mod>

0 commit comments

Comments
 (0)