Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qutebrowser not loading urban dictionary website properly #3586

Closed
prosoitos opened this issue Feb 12, 2018 · 15 comments
Closed

Qutebrowser not loading urban dictionary website properly #3586

prosoitos opened this issue Feb 12, 2018 · 15 comments
Labels
bug: behavior Something doesn't work as intended, but doesn't crash. component: QtWebEngine Issues related to the QtWebEngine backend, based on Chromium. status: needs triage Issues/PRs which need some deeper investigation.

Comments

@prosoitos
Copy link
Contributor

Thanks a ton for qutebrowser. Total fan here.

Not sure if this is just me, but I am unable to use the site https://www.urbandictionary.com/ (which works just fine in other browsers). No warning or error message, but huge images of icons and nothing functional loads.

Here are some info about my settings:
qutebrowser v1.1.1
Backend: QtWebEngine (Chromium 61.0.3163.140)
CPython: 3.6.4
Qt: 5.10.0
PyQt: 5.10
Running on 4.15.2-2-ARCH

Thanks!

@qutebrowser-bot qutebrowser-bot added component: QtWebEngine Issues related to the QtWebEngine backend, based on Chromium. bug: behavior Something doesn't work as intended, but doesn't crash. labels Feb 12, 2018
@The-Compiler
Copy link
Member

Works fine here. Can you reproduce it when starting with --temp-basedir?

@The-Compiler The-Compiler added the status: can't reproduce Issues which can't be reproduced. label Feb 12, 2018
@bheadmaster
Copy link

Works on my machine, with the exact same Qt and qutebrowser version, and distro, as prosoitos.

@gebulmer
Copy link
Contributor

gebulmer commented Feb 12, 2018

huh weird, I have the same issue as in the OP.

doesn't occur for me with --temp-basedir

It's pretty much just the default, with hiding status bar and tabs.

Edit:
We've narrowed the problem down via conversations on IRC to being down to .local/share/qutebrowser/blocked-hosts somehow

@The-Compiler The-Compiler added status: needs triage Issues/PRs which need some deeper investigation. and removed status: can't reproduce Issues which can't be reproduced. labels Feb 12, 2018
@gebulmer
Copy link
Contributor

We have found the culprit, if d2gatte9o95jao.cloudfront.net gets blocked, that site doesn't display correctly

@prosoitos
Copy link
Contributor Author

Cool! I just removed d2gatte9o95jao.cloudfront.net from blocked-hosts and it is now working fine. Any way to prevent it from being added to the list again?

@prosoitos
Copy link
Contributor Author

Never mind. I found the content.host_blocking.whitelist option.

Thanks for the quick help! and for all the great work!!! Can't wait to have pdf.js working in qutebrowser!! :)

@The-Compiler
Copy link
Member

Thanks a lot to @gebulmer to help tracking things down! 👍

I've sent a mail to the author of the backlist which is to blame. I hope they'll remove it soon, otherwise I might add it to the default whitelist...

As for pdfjs, see #2330. Also note that you can hit ctrl-x to download files temporarily and open them in your default PDF reader.

@The-Compiler
Copy link
Member

Looks like it's going to be disabled soon:

Yes we are aware and that entry has been disabled, and this will reflect in
the next update.

Nothing more to do here, then 😉

@prosoitos
Copy link
Contributor Author

Yup :) I've definitely been following #2330 eagerly :)

Thanks so much for such a wonderful browser!

@prosoitos
Copy link
Contributor Author

Actually-sorry this is getting totally off topic here-but is there a way to bind the temporary download to a key in normal mode?

Something that could look like config.bind(';e', 'hint links fill :open-download {hint-url}') for instance? The only function I could find that allows this temporary download is :prompt-open-download and, obviously, it only works in prompt mode.

Just trying to by-pass the prompt. I know it's not that bad at all. But I do look at a lot of pdfs that I don't plan on keeping as part of my workflow and being able to open them from a temp file directly by a single key binding or a single mouse click would be sweet, while waiting for pdf.js

I looked into userscripts, but there doesn't seem to be a function to change mode in the script. So I am not sure how to make use of the :prompt-open-download from normal mode.

@The-Compiler
Copy link
Member

Hmm, :download already has --dest, I suppose it wouldn't be too hard to add a --open as well. Mind opening a new issue for that? I don't see a way to do it right now, though (but I'd encourage you to open a PR if you want to look at it!) 😄.

@prosoitos
Copy link
Contributor Author

Not sure I have the skills to do this at this point, but I opened a new issue (#3591)

@rien333
Copy link
Contributor

rien333 commented Mar 14, 2018

Seems to be back to not loading again, how exactly did you guys fix this last time? Has the blacklist gone improper again?

@The-Compiler
Copy link
Member

@rien333 Works fine here, and d2gatte9o95jao.cloudfront.net isn't in my ~/.local/share/qutebrowser/blocked-hosts. Are you sure your blocklists are up-to-date? (:adblock-update)

@rien333
Copy link
Contributor

rien333 commented Mar 14, 2018

Yes it works now! I guess the previous update I did a week ago or so blocked it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: behavior Something doesn't work as intended, but doesn't crash. component: QtWebEngine Issues related to the QtWebEngine backend, based on Chromium. status: needs triage Issues/PRs which need some deeper investigation.
Projects
None yet
Development

No branches or pull requests

6 participants