nextcloud.com
nextcloud.com copied to clipboard
Blank page when a cookie popup script fails to load (due to adblocker)
This web page (and maybe others) fails to load and shows a blank page when the cookieconsent.js script fails to load:
https://nextcloud.com/sharing/
With this error:
For example the Annoyances filter of uBlock Origin would block such script, but as far as I can see there's no issue with the filter itself, and it's Nextcloud that should fail gracefully when this non-essential cookie popup script is not loaded.
See below for full details:
Forum thread: https://help.nextcloud.com/t/nextcloud-official-web-page-is-blank-when-ad-blocker-enabled/59841
I'd love to fix it, but I'm simply clueless on how, sorry :cry: suggestions/pull requests welcome!
IMHO it could be sufficient to just whitelist the nextcloud.com website (see below).
Local workaround as a user:
Ref to the "uBlock origin" Wiki
-
nextcloud.com
: whitelist all pages fromnextcloud.com
or above (i.e.nextcloud.com
,www.nextcloud.com
,help.nextcloud.com
).
However, you seem to claim there are responsibilites to Nextcloud GmbH to solve this. I have to be neutral on this and may be just clueless. 😇
Please accept my apologies if I misundertood but in the meantime I cannot consent to the a.m. claim and would like to ask for more details.
As of today my browser has access and the full page is visible.
- Firefox 68.2.0esr with add-ons
- uBlock Origin v1.22.4
- noscript 11.0.3
- The 'Annoyance filter' is activated in uBlock Origin.
- No whitelisting of
nextcloud.com
in my setup to uBlock Origin. - Trusting
nextcloud.com
in noscript, three other domains are 'standard' or 'mistrusted'
May I suggest the option one could check the setup and could seek to optimise one's local filtering?
Hi, this was more a bug report than a support request. I can figure out how to get the website to work regardless.
I just think it's not good to serve a blank page just because a non essential tracking script didn't load. But it's up to you if you want to fix it it not.
On my side I'm just looking at the source files on GitHub which work just fine.
@laurent22 I'd love to fix it, I just have no idea how ;-) If you know, I'd be happy to implement it or review & approve a pull request. Code is here: https://github.com/nextcloud/nextcloud.com/blob/master/templates/head.php and: https://github.com/nextcloud/nextcloud.com/blob/master/assets/js/modules/cookieconsent.js
I just know some css and html, js is completely beyond my skills, so I tend to copy-paste stuff. If it does weird stuff like described in this bug - I'm unable to do anything about it. Sad, yes :cry: but we sadly don't really have a web developer on our website.
Hi, this was more a bug report than a support request. I can figure out how to get the website to work regardless.
Point noted. However, there was a mix of forum article (support) and GitHub (bug report) involved from the start of this issue, if I am correct. Please note my reply was mainly addressing an open community and certainly not addressing your personal expertise specifically if at all.
I would appreciate if there would be a commit and a proposal for a technical solution on the server side. Notwithstanding other solutions. However, I remain clueless in this matters.
Apparently, the a.m. web page does not fail to load in general. IMHO using an adblock filter can bring an unwanted burden to all three of the client user, the server admin and (last not least) the designer and/or businees behind an adblock effort. 😇