Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Temporary solution for Google.
Posted by: Kris_88
Date: January 14, 2022 08:32AM

Problem: The K-Meleon browser obeys the content-security-policy 'nonce-*'
parameters, but ignores 'nonce' parameter in inline script tag.
Thus, inline scripts are blocked.

Solution: Nonce patch for Google (nonce-patch@om.xpi extension)
makes replacing the 'nonce-*' responce header with 'unsafe-inline'
This is a temporary solution.
Keep in mind that it worsens browser security.

1) In about:config page
set 'general.useragent.override.google.com' to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20010101 Firefox/60.0'
The same for language specific general.useragent.override.google.com.?? in your region.
2) Install nonce-patch@om.xpi extension
3) In chrome://browser/content/preferences/cookies.xul page
Clear Google cookies.

Attachments: nonce-patch@om.zip (2.9 KB)   nonce.png (337.9 KB)  
Options: ReplyQuote
Re: Temporary solution for Google.
Posted by: Mala Okeh
Date: January 14, 2022 11:12AM

Wow, Kriss_88, it works fantastic, even if it's temporary.

Thx a lot

malao

Options: ReplyQuote
Re: Temporary solution for Google.
Posted by: J.G.
Date: January 14, 2022 11:50PM

@Kriss_88 it works awesome, thanks! I hope @roytam1 could merge something of this tweak! smiling smiley

Options: ReplyQuote
Re: Temporary solution for Google.
Posted by: J.G.
Date: January 18, 2022 03:46PM

Quote
Kris_88
(...)
1) In about:config page
set 'general.useragent.override.google.com' to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20010101 Firefox/60.0'
(...).

I have set it to: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20010101 Firefox/60.0
I meant to change rv:52.0 to 60.0 (probably it was a typo by your side).

Options: ReplyQuote
Re: Temporary solution for Google.
Posted by: Kris_88
Date: January 18, 2022 06:22PM

Quote
J.G.
I have set it to: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20010101 Firefox/60.0

You are right. Thank you!

Options: ReplyQuote
Re: Temporary solution for Google.
Posted by: RJJIII
Date: January 19, 2022 08:39AM

Awesome!

Options: ReplyQuote


K-Meleon forum is powered by Phorum.