Comments (4)
I am experiencing a similar problem. I would like to download an octet-stream
and simply save it. I am wondering what handler would correspond to a Qt file save dialog.
allow_external_content: True
content_handlers:
application/octet-stream: ???
from admbrowser.
I haven't had my head in Qt for a while, but I'm assuming one would need to implement a save dialog and file saving of some sort. I took a quick look over the docs and didn't see anything obvious built in to QtWebEngine.
Given that ADMBrowser is aimed at kiosk / locked down usage, I'd be interested in hearing a use case for downloading and saving files. That's one of the many things I created this browser to not have, though if there is an arguable use case I would accept a PR as long as it was disabled by default.
from admbrowser.
Here is a use case:
A library thin client with only USB ports provides default access to https://pubmed.ncbi.nlm.nih.gov
The accessible USB port allows to download medical scientific papers in PDF on a USB memory stick.
Here is another one:
ADMbrowser manages the web interface of a router or headless system.
Using ADMbrowser as a dedicated browser in this case provides additional security by preventing keystroke recording attacks. The web interface allows for downloading a backup of the router settings in a proprietary file format.
from admbrowser.
That makes sense. This is a feature that would definitely be disabled by default, and one would want to be able to secure it to make sure the download dialog doesn't become a back door to browsing the system.
from admbrowser.
Related Issues (20)
- Develop error-message display system HOT 1
- included bash script broken HOT 1
- ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt5' HOT 1
- Can't run on Raspberry Pi HOT 13
- User and password are not filled in on Jellyfin HOT 2
- admbrowser.py needs a "crunch bang" statement HOT 1
- Feature request: Custom window title HOT 4
- Add an admbrowser Wikipedia entry HOT 1
- setup.py install is deprecated
- Geolocation & Notifications HOT 1
- Popup windows do not inherit a number of essential properties
- CSS overwrite statements in .yaml file HOT 2
- quit shortcut
- External content doesn't download
- privacy_mode has no effect HOT 2
- user agent string doesn't work
- Popup windows don't show HOT 1
- Custom 404 and Network error don't work
- Downloads crash when handlers aren't installed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admbrowser.