View Single Post
Old 06-14-2012, 02:15 AM   #6
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Downlaod from unprotected, non-login-sites is added by PRS+ (see 950_bootstrap.js)
Spoiler:
Code:
// Add option to download files
        kbook.webviewexData.onUnsupportedMimeType = function (url, mimetype) {
                try {
                        var dialog = kbook.model.getConfirmationDialog();
                        dialog.target = this;
                        dialog.onOk = function () {
                                PARAMS.Core.shell.exec("/usr/bin/wget -P /Data " + url);        
                        };
                        dialog.onNo = function () {
                        };
                        dialog.openDialog("fskin:/l/strings/STR_UI_BUTTON_DOWNLOAD_NOW".idToString() + "?\n\nURL: " + url + "\nMIME: " +mimetype, 0);
                } catch (ignore) {
                }
        };

But as the PRS-950 browser dosn't support cookies download from protected sites isn't possible.

Please direct further questions about this to the PRS+ main thread

Last edited by Mark Nord; 06-14-2012 at 06:21 AM.
Mark Nord is offline   Reply With Quote