r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.77k stars 555 forks source link

webview.settings['ALLOW_DOWNLOADS'] not working #1519

Closed MominIqbal-1234 closed 6 days ago

MominIqbal-1234 commented 3 weeks ago

Specification

Description

i try to download pdf using js its not working

image

if __name__ == '__main__':
    window = webview.create_window('example',app,text_select=True,width=1400, height=700,min_size=(1400,700),http_port=9000) # min_size=(1200,700)
    webview.settings['ALLOW_DOWNLOADS'] = True
    webview.start(debug=False,http_server=True,menu=menu_items)
r0x0r commented 3 weeks ago

webview.settings was intoduced in 5.0

MominIqbal-1234 commented 2 weeks ago

and can i run pywebview http server in ip address like 192.168.19.8:8900