We have moved to a new Sailfish OS Forum. Please start new discussions there.
19

How do I save browsed webpages without workarounds?

asked 2014-12-25 17:03:22 +0300

rdmo gravatar image

updated 2016-05-10 07:51:06 +0300

tl;dr Not possible with the stock browser, use Web Pirate or Webcat (available from the Jolla Store) instead.

I don't see how to save remote webpages to local disk using the native browser on my Jolla. I can load file:/// links in the browser but I still need to save source HTML content, not always just single images. This missing feature and the empty browser data:mime,content crash bug combine to make the browser less than it might otherwise be (for me). See:

https://together.jolla.com/question/72942/bug-browser-startup-crash-for-datamimecontent/

The bug stops users from being able to use their bookmarks as a text/HTML in-context notepad.

To save a (non-private) page as an image I can use, for example, services like url2png:

But the image address causes a failed save in the browser:

https://api.url2png.com/v6/P4DE5D1C99D8EF/78b0823f49791cdb27ba4003ecfe828d/png/?url=http%3A%2F%2Fbl.ocks.org%2Fmbostock%2F7607999&max_width=550&viewport=1024x2000&fullpage=1&thumbnail_max_width=550

It can only be saved locally using, for example, curland encapsulating the URL as "URL". There is a means to do it as seen in http://eligrey.com/demos/FileSaver.js/ but it unfortunately doesn't quite resolve saving yet. Perhaps in due course I can adapt it to work as a bookmark. I'll post successes or failures here.

The Url image

The processing and memory overhead comparing text to images is not insignificant, though.

edit retag flag offensive close delete

Comments

Am not suggesting that you should do it on your own ;) but in case you're not aware of, Sailifsh browser is opensource https://github.com/sailfishos/sailfish-browser/

anandrkris ( 2015-01-17 15:37:27 +0300 )edit

still can not save mp3 link with browser! podcast must be downloaded again and again and again. Such waste of resources! taalojärvi.

alloj ( 2016-05-10 17:07:56 +0300 )edit
1

Have you tried Web Pirate or Webcat?

jollailija ( 2016-05-10 21:09:50 +0300 )edit
1

since taalojärvi 3rd party solutions for standard functionality no longer accepted. i would downvote your suggestion if i could.

alloj ( 2016-05-11 13:54:40 +0300 )edit
1

I gave back my downvotes.

alloj ( 2016-05-12 18:05:37 +0300 )edit

3 Answers

Sort by » oldest newest most voted
4

answered 2014-12-25 17:49:24 +0300

leszek gravatar image

updated 2014-12-25 17:58:29 +0300

I would suggest using webcat browser were you can copy the url of the site and paste it to the download manager (the one from webcat)

Of course you can in devel mode use the terminal and curl or wget aswell.

Example curl command:

$ curl http://google.com -o google.com.html
edit flag offensive delete publish link more

Comments

3

It's true I can use curl via the terminal on this device. But a tap-and-hold to get a save option appearing within the browser gui would cut the time and processing overhead needed to run a second program, copy and paste the link, run the command, close the terminal and go back to the browser. Not all device owners have the desire to use a terminal.

rdmo ( 2014-12-25 19:32:38 +0300 )edit

Sure, that's why leszek suggested using Webcat instead. No one is required to use Jolla's browser.

nthn ( 2014-12-26 16:02:20 +0300 )edit
2

answered 2016-05-10 07:45:38 +0300

Scared of OpenRepos? Webcat and Web Pirate are both free (as in freedom) and open-source. They are both available from the Jolla Store, no risk-taking required!

Here's a screenshot of Web Pirate. When you hold on a tab with your finger, you get these options, one of them being "Save page" ("Tallenna sivu" eftersom jag talar Finska). Download all the pages!

Tallenna sivu

edit flag offensive delete publish link more

Comments

That's not the point. The sailfish native (butchered firefox?) browser should have been enough. I tried Webpirate.. it is better, but that any user had to bother with this for basic functionality is a waste of time, multiplied exhaustingly over the number of sold devices.

rdmo ( 2016-05-12 19:02:38 +0300 )edit

Personally I think everyone should be free to use whatever works best for them; if X doesn't work, just switch to Waylan- I meant Y :P

After all, we are talking about Linux and FOSS software. Freedom of choice is an important one.

jollailija ( 2016-05-15 10:50:06 +0300 )edit
1

answered 2015-02-03 02:49:05 +0300

updated 2015-02-03 02:51:09 +0300

Did you already have a look at openrepos? There is an app available called 'Send to Jolla'. You need this app and Firefox-plugin on your Computer. Have a look here, if this is what you're searching for

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-12-25 17:03:22 +0300

Seen: 1,352 times

Last updated: May 10 '16