Skip to content

Instantly share code, notes, and snippets.

@methyl
methyl / csp.patch
Created August 9, 2016 16:02
Chrome CSP application patch
--- a/extensions/common/manifest_handlers/csp_info.cc
+++ b/extensions/common/manifest_handlers/csp_info.cc
@@ -32,21 +32,8 @@ const char kDefaultContentSecurityPolicy[] =
"'self' blob: filesystem: data: chrome-extension-resource:"
const char kDefaultPlatformAppContentSecurityPolicy[] =
- // Platform apps can only use local resources by default.
- "default-src 'self' blob: filesystem: chrome-extension-resource:;"
- // For remote resources, they can fetch them via XMLHttpRequest.
- " connect-src * data: blob: filesystem:;"
<body cz-shortcut-listen="true">
<script src="//assets.codepen.io/assets/common/stopExecutionOnTimeout-53beeb1a007ec32040abaf4c9385ebfc.js"></script><script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script>$('document').ready(function () {
$('<meta property="og:title" content="The Rock" />').appendTo('head');
});
//# sourceURL=pen.js
</script>
</body>

Keybase proof

I hereby claim:

  • I am methyl on github.
  • I am methyl (https://keybase.io/methyl) on keybase.
  • I have a public key ASASSGllDz_GfWlXwGXQhH1csh73S_Ok6JfzkINwjpnx9Ao

To claim this, I am signing this object:

@methyl
methyl / index.css
Last active November 21, 2017 13:00
.slide {
display: none
}
.slide:target {
display: block
}
title subtitle meta_title meta_description date
Getting started with Surfer
Timeout, onClick and onScroll Content in Google
Surfer – Getting Started
Get started on using Surfer to rank higher. Learn how to use Surfer by reading short case study. Make your website optimisation more efficient with our data driven tool for experts.
2017-11-30

Content optimisation is a complex task, which, due to lack of tools, most of the times is based on gut feeling and experience. We introduce Surfer which opens

@methyl
methyl / index.html
Last active December 4, 2017 09:20
<a href="/refractory-fire-bricks"> Refractory fire bricks </a>
local electrician local electrician local electrician local electrician