-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Https everywhere on sites with CSP also prevents other browser extensions from running #19008
Comments
I cannot reproduce your issue with HTTPS Everywhere EASE mode and TamperMonkey installed. AFAIK, HTTPS Everywhere upgrades the HTTP protocols in the CSP headers in EASE mode. It did not change the CSP for Github, however, as its CSP headers do not contain any HTTP protocol:
P.S. your user script work for me with both HTTPS Everywhere EASE mode enabled or not. Could this issue be related to the setting storage of the TamperMonkey extension? |
additional info: you need to be logged in into github, - without being logged in scripts work I tried it with clean firefox profile and imported TamperMonkey settings and scripts - and it worked like you described, but... after browser restart it stopped working for good and went back to how I described the problem - try restarting browser and see again. |
I'm having the same issue on my Github Tampermonkey script while I was trying to modify Github Font style with HTTPS EASE mode enabled. Here is the script I wrote: // ==UserScript==
// @name Github font changer
// @namespace local.greasemonkey.githubfontchanger
// @include https://*.github.com/*
// @include https://github.com/*
// @version 2
// @run-at document-start
// ==/UserScript==
var fontdef ="Fira Code, Monaco, Monospace ! important"; // Set your font here.
// Function helper to inject css
// Apply the font-family definition to code styles.
(function() {
var css = '.blob-code { font-family: ' + fontdef + '; } ' +
'.blob-num { font-family: ' + fontdef + '; } ' +
'';
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
})(); It worked while the EASE mode disabled but wont work with EASE mode enabled. Although I can always disable EASE mode on Github website but it just feels not right. Firefox Version: Version 80.0.1 (64 bit) |
@PatheticMustan go talk here about HTTPS Everywhere and PHEX I think you have something to say about this because you said something idk (btw you didn't reference it the right way on the issue in PMGH) |
(THIS ONE IS IMPORTANT BUT IT WON'T LET ME BOLD) **> + I have CSP bypass enabled in TamperMonkey, it's just that it doesn't seem to work for me... **
Same thing happens with PHEx (look it up on the Chrome web store) |
you guys know it's obsolete for Firefox since Firefox rolled out "open sites only via https" option long ago? https://blog.mozilla.org/security/2020/11/17/firefox-83-introduces-https-only-mode/ |
example sites: github.com - all pages, google - images section
If I set
https everywhere
into stricthttps only
mode and visit a website with content security policy enabled (like github) -https everywhere
also starts preventing my TamperMonkey extension from running its scripts on pages as you can see on screensit doesn't happen without
https everywhere
in stricthttps only
modeFirefox: 73.0.1 (64bit)
TamperMonkey: v4.10.6105
Https Everywhere: v2019.11.7
OS: Windows 10 Home Verson: 1903 Build: 18363
The text was updated successfully, but these errors were encountered: