chrome extension woe

Refused to execute inline script (or javascript URL) because it violates the following Content Security Policy directive: “script-src ‘self’ blob: filesystem: chrome-extension-resource:”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-93fgPWwrym5fXzZiAaRxBVwd4tc4seYr4/TXsZL+9P8=’), or a nonce (‘nonce-…’) is required to enable inline execution.

meant “add that to your manifest.json”


  “content_security_policy”: “script-src ‘self’ https://* ‘sha256-qDggtJ0ZQS79xsMxbArH5hKSHI/hKg5qU1OGLMcyXgQ=’; object-src ‘self'”,

but oddly, when I was doing this *right* (trying to inject javascript code into a document) there was no error like this, turns out I was trying to inject it from within a “popup.js” and if I did it from a contentscript.js then voila, no complaint from chrome.

Very weird.

Anwyay content_script has access to the “real” document aparently, popup.js only has access to the document of the little popup thing when you click the extension icon 😐

vibrating sensation in head that wakes you up in the morning

Though you might have it at night as well.


Still researching this one, but I did find this.


When I start to feel the vibrations, then I breath in diaphramatically, then exhale through “straw lips” , do that once or twice, then wait a few seconds, I can feel … something happen and the shaking stops.

Plus my hands feel different, like suddenly they’re getting enough Oxygen.

Still examining this, but this is a good data point…

You’d think that a monitor would detect poor O2 levels, we shall see.

Current hypothesis: since I gained some weight recently, it may be that the diaphragm is ‘getting tired’ at night…

Or exhaling “too quickly” therefore can’t get enough O2 to the blood stream…


Other things that can cause this: lyme disease, hyper thyroid.  Apparently sometimes it can be caused by heart “leakages” or what not as well (basically, anything that prevents you from getting O2 to the head)…so you may as well have the docs weigh in on this one too, just in case…

Anxiety can case it as well.  Anxiety also frequently causes people to “breath poorly” (during a panic attack) I wonder if that’s related, or are they just not sleeping well?

It does feel like it’s related to that dizziness you sometimes feel as you lay in bed and things start spinning…as sleep deepens…

Other things that maybe helped: try out a new ambient/environment for sleaping does it occur there?  I had a swamp cooler fan blowing “over” me once and I could sleep through that.  Not sure if it was the air or the noise, or the outside air… 😐


Another tiny symptom of mine: in the morning it feels like the chest is tight and its hard to breath diaphramatically, only a little…then sometimes after that I could feel a tiny pain in my stomach near the top (I assume that’s actually the line the diaphragm rests on…)

Update: if your ailment is as mine (some kind of poor breathing problem), setting up a sleeping arrangement so you sleep on pillow and allow your belly “room to expand down” might be helpful:


And put a pillow in there where the “space for belly” goes.

Also quite possibly effective:

put a large fan at the base of your bed “blowing over you” (I used one of those box fans).  Let it blow all night.  Seemed to really help.

If you start sleeping “on your left side” (possibly with a big pillow in there so you can prop up your arm as you sleep) that might help you get to sleep

Roger's meanderings, notes to himself, bug reports, and other things