No Branch/Tag Specified
develop
main
v2.0.17
v2.0.18
v2.0.19
v2.0.20
v2.0.21
v2.0.22
v2.0.23
v2.0.24
v2.1.0
v2.1.1
v2.1.10
v2.1.11
v2.1.12
v2.1.13
v2.1.14
v2.1.2
v2.1.3
v2.1.4
v2.1.4.3
v2.1.5
v2.1.6
v2.1.7
v2.1.8
v2.1.9
v2.2.0
v2.2.1
v2.2.10
v2.2.12
v2.2.13
v2.2.14
v2.2.14.2
v2.2.15
v2.2.16
v2.2.16.1
v2.2.17
v2.2.17.2
v2.2.18.3
v2.2.2
v2.2.3
v2.2.4
v2.2.5
v2.2.6
v2.2.7
v2.2.7.5
v2.2.8
v2.2.9
v2.3.0
v2.3.1
v2.3.1.10
v2.4.0
v2.5.0
v2.5.1
v2.5.10
v2.5.11
v2.5.12
v2.5.13
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v2.5.6
v2.5.7
v2.5.8
v2.5.9
v2.6.0
v2.6.0beta2
v2.6.0beta4
v2.6.0beta5
v2.6.1
v2.6.10
v2.6.12
v2.6.13
v2.6.14
v2.6.15
v2.6.16
v2.6.17
v2.6.18
v2.6.19
v2.6.1beta1
v2.6.2
v2.6.20
v2.6.21
v2.6.22
v2.6.23
v2.6.24
v2.6.25
v2.6.26
v2.6.27
v2.6.28
v2.6.29
v2.6.3
v2.6.30
v2.6.31
v2.6.32
v2.6.4
v2.6.5
v2.6.6
v2.6.7
v2.6.8
v2.6.9
Labels
Something is not working Chromium incompatibility/bug
Incompatible or a bug in Chromium-based browsers documentation
documentation duplicate
This issue or pull request already exists enhancement
Feature request/Enhancement firefox-bug
Firefox bug framework/mapping
missing/obsolete framework or mapping help wanted
Need some help invalid
Something is wrong need info
Need info from the reporter observation question/discussion
Question about the extension sop/cors
Same-Origin-Policy or Cross-Origin-Resource-Sharing testing
testing update framework
Update framework website
Own Website (www.localcdn.org) wontfix
This won't be fixed or implemented
Apply labels
Clear labels
bug
Something is not working Chromium incompatibility/bug
Incompatible or a bug in Chromium-based browsers documentation
documentation duplicate
This issue or pull request already exists enhancement
Feature request/Enhancement firefox-bug
Firefox bug framework/mapping
missing/obsolete framework or mapping help wanted
Need some help invalid
Something is wrong need info
Need info from the reporter observation question/discussion
Question about the extension sop/cors
Same-Origin-Policy or Cross-Origin-Resource-Sharing testing
testing update framework
Update framework website
Own Website (www.localcdn.org) wontfix
This won't be fixed or implemented
No Label
bug
Chromium incompatibility/bug
documentation
duplicate
enhancement
firefox-bug
framework/mapping
help wanted
invalid
need info
observation
question/discussion
sop/cors
testing
update framework
website
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: nobody/LocalCDN#732
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Hi, according to arkenfox's wiki
Is this correct and one doesn't need to use LocalCDN in FPI/dFPI mode?
Hi, good question 👍
From my point of view, it makes sense and you should use both. The reason is that they are two different things. FPI and dFPI isolating external resources on the client side. But it doesn't prevent anything that happens on the server side and it doesn't prevent the request itself.
You can use both together and in cases where LocalCDN can't work (e.g. SOP), you have (d)FPI as a kind of fallback.
Additionally: The fact that many websites use external scripts makes these CDNs a highly potential target for attacks. There has been a case where a malicious script was injected into the CDN system (July 2021 - www.bleepingcomputer.com).
Ok, if using FPI/dFPI doesn't prevent the server side call/(or rather "home calls"), then arkenfox's wiki should be more precise and LocalCDN is not
Don't Bother...
.The security aspect if a CDN is hacked is a nice side effect.
Regarding SOP, is there a way to have automatically a popup/messagebox appear when a
Cross-Origin Request Blocked: The Same Origin ...
error appears in the console log, so one knows instantly that a website isn't working correctly? Otherwise one has to look consciously at the console log all the time when visiting a website to see for errors.Yes, I think so too. On the other hand, I wouldn't recommend this extension to everyone, because a user should know what's going on.
Unfortunately not, because this is a security feature and as far as I know isn't triggered by the browser tab but by the browser itself. As far as I know, an extension doesn't have access to that.
The SOP problems should be rare by now because there was a great change in Firefox 89.0a1 (see #369). Personally, I haven't had any SOP errors for a long time, but that doesn't have to be true for everyone because browsing behavior is extremely individual.
Was following https://bugzilla.mozilla.org/show_bug.cgi?id=1419459, but I see there's https://bugzilla.mozilla.org/show_bug.cgi?id=1694679, which indeed is great.
I think im going to open an issue regarding their
Third parties are already isolated if you use FPI/dFPI
statement, because the main purpose of LocalCDN is to prevent calls to certain CDN servers (if the CDN is in the mappings file) and keeping calls local, which FPI/dFPI does not do.Feel free to do that 👍
Maybe the already existing Issues are helpful:
https://github.com/arkenfox/user.js/issues?q=is%3Aissue+localcdn
Nothing under the already existing issues, but thanks for the suggestion.
Conclusion: Their wiki is completely incorrect on this issue (can you believe it, so many stars there, but can't get their wiki right. Who knows what else isn't right, say, their main one,
user.js
).I'm closing this issue as it's clear now and FPI/dFPI doesn't prevent CDN connections, but LocalCDN does (only to those CDNs, who are in the mappings file (mentioning this one extra, because some people may think that it covers all CDNs)).
Thanks again.
Thanks for trying to correct this. I've read the wiki and the issues. They recommend to use uBlock in hard mode (Enumerating Goodness) and allow the CDN connections manually and individually. In the issue he writes:
That's contradictory in my opinion.
Anyway, there will be always people who think that one is better than the other. Extensions are a sensitive topic (similar to browsers, operating systems or systemd). There will never be a perfect way and the user must find the best possible solution for himself and for his individual case.