Notices


Reply
Thread Tools
Posts: 371 | Thanked: 1,295 times | Joined on Dec 2013
#1
Just like promised the last week I spend some time coding a webbrowser for Sailfish which supports landscape and supports tabbing.
I based my work on the tinywebbrowser project by Mike7b4. So thanks for the initial code and inspiration.

The current features of the browser so far:
  • Landscape support
  • Tabbing support (real without reloading of tabs)
  • Bookmark support
  • Setting browser user agent
  • Setting default font sizes
  • Opening up links in new tab (by long press and hold on link)
  • Copy links (by long press and hold on link)
  • Open rtsp, rtmp and mms links with external viewer (e.g. LLs VideoPlayer)
  • Setting DNS Prefetch
  • Setting Offline WebApplication Cache
  • Manually add bookmark with specific user agent
  • Fast scroll to top or bottom of page
  • Watch Youtube with internal or external player (e.g. LLs VideoPlayer) with direct link
  • Download Youtube videos
  • Private Browsing
  • Clear Cache, Cookies, History
  • ReaderMode (with NightMode)
  • Copy text from website
  • Search text in website
  • Keyboard hotkeys
  • Session support
  • HTML5 Video Tag detection
  • Embeded Youtube detection
  • Integrated file manager
  • Integrated Download Manager
  • Keyboard Hotkeys (for TOHKBD or bluetooth keyboards)
  • Set as default browser
  • Backup Manager (Import/Export Bookmarks,Cookies,History,Settings)
  • Proxy Support
  • Fast Tab Switching
  • Create Website Launchers
  • Cookie Manager

You can find the code here: https://github.com/llelectronics/webcat
RPM here: https://openrepos.net/sites/default/...-1.armv7hl.rpm
Tablet (i486) RPM: https://openrepos.net/sites/default/...2.8-1.i486.rpm

Update:
Version 2.8
  • Fixed OpenDialog wrong links to Android SD Card and SD Card
  • Revamped Tabbar (vertical list instead of horizontal)
  • Added MenuPopup for starting stuff from new Tabbar header (File
  • Manager,Backup Manager, Video Player, Download Manager)
  • Added new "about:" uris for Backup Manager, Video Player & Download Manager
  • Added Pulley Menu for VideoPlayer Page to OpenFiles and Streams
  • Hide Download Manager from Pulley (we don't need duplicates)
  • Allow showing html code for selected text (scroll down to see html button)
  • Added ViewPlaceholder for VideoPlayer if no media is loaded
  • Save backups to the Documents folder by default (new harbour rule)
  • Changed text of BackupPage to indicate changed saving path for backups
  • Fixed Youtube Get Stream URLs (should reliably get 240p,360p & 720p mp4 streams excluding ciphered ones like vevo)
  • Fixed ContextMenuOverlay blocking touch events on ytQualChooser close
  • Added DefaultCoverActionGroup setting
  • Added CookieManager (allows searching and removing of single cookies)

Version 2.7
  • Compiled against Qt 5.6 (compatible to SailfishOS 2.1 only)
  • Use higher timeout for InfoBanner (5 seconds)
  • Added cut, copy and paste functionality in filebrowser
  • Added socks support in proxymanager
  • Added quick toggle for setting tor proxy settings in proxymanager (you need to start tor service on your own)
  • Updated translations
  • Added description label to bookmarks to show url on long press contextmenu
  • Speed improvements (QT_PREDICT_FUTURE=1 QT_NO_FREE=0)

Version 2.6
  • Fixed loading custom user agent and allowing to edit it
  • Added Qt 5.6 / SailfishOS 2.1 Fix for getting youtube videos and showing correct MediaTitle in MediaDownloadRec
  • Videoplayer controls timeline and time use anchors bottom to fix positioning on SFOS 2.1 (Qt 5.6)
  • Updated SearchEngines to use https whenever possible
  • Added Baidu as search engine
  • Removed Izik search engine
  • Register dbus object before service (Closes #34) [Fix for SFOS 2.1 / Qt 5.6]

Version 2.5
  • Fixed getImgFullUri to always get absolute paths
  • Updated adblock.css (Block more ads)
  • Fixed media selection for non youtube html5 audio&video
  • Only add media with the same url once to media selection
  • Fixed media selection underneath videoplayer component
  • Destroy videoplayer component on media selection
  • Prevent hitting play again if new media gets added to medialist
  • Make download manager available from pulley menu in bookmarksview
  • Removed download manager from settings
  • Removed New Tab / Close Tab from bookmarks menu pulley menu
  • Updated translations

Version 2.4
  • Use theme.primaryColor when urlbar is focused (Closes #32)
  • Updated OpenDialog to show more mimetypes
  • Updated OpenDialog to use SailfishOS style of navigating (no more ..*folders to go one folder up instead just swipe back)
  • Allow full bookmark editing (including url)
  • Some performance tweaking for latest SailfishOS versions (more caching leads to slightly more memory usage but lesser reloading times of one page)
  • Added pause/resume function to download manager
  • Truncate download label (Closes #31)
  • Fixed image detection
  • Fixed long press on Image not opening up context menu
  • Updated translations

Version 2.3
  • Only allow SplitWeb in landscape mode
  • Added splitter in the middle of SplitWeb
  • Another positioning fix for popover
  • Make a search engine query with the verbatim text if first char of the URL is a '?' (akin to Chromium) [Thx Hummer12007]
  • Block some more annoying ads
  • Hide webview if videoPlayerComponent visible (avoids stuttering and running hot [overheating] of device)
  • Revamped ConfirmDialog with explanation about certificates
  • Allow DownloadManager to remove downloaded files
  • Beautified Download Manager with SectionHeaders
  • Added more details to DownloadManager (name of the current downloaded item)
  • Performance and Bugfixes for DownloadManager
  • Beautify the url shown in DownloadManager
  • Updated translations
  • Added favicon to minimized toolbar
  • Create Homescreen Shortcuts by pressing and hold on bookmarkbutton

You can get the app in the warehouse and jolla store aswell and rate it there

Videodemonstration: http://youtu.be/1uVjaETqmMA
0.9-1 Videodemo: http://www.youtube.com/watch?v=nNYjdr5tCSs
0.9.6 Videodemo: http://youtu.be/vttkJgKOK48
1.9.9 Videodemo: http://youtu.be/WZXlqOrLKK8
2.0.9 Videodemo: https://youtu.be/Ck2TND0-PwE
2.1.0 Videodemo Backupmanager: https://youtu.be/sBge7JAlXro
2.2.0 Videodemo Fast Tab Switching: https://youtu.be/iaeMNppgOSQ
2.3 Videodemo:https://www.youtube.com/watch?v=MeffwP7SXkY
__________________
Donation for my sailfish apps via PayPal

Last edited by llelectronics; 2017-06-24 at 16:12.
 

The Following 65 Users Say Thank You to llelectronics For This Useful Post:
TMavica's Avatar
Posts: 1,965 | Thanked: 912 times | Joined on Apr 2010 @ Hong Kong
#2
nothing can see after install when I start it
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 45 | Thanked: 76 times | Joined on Dec 2013 @ Bruxelles
#3
Thanks for your work. But I have two problems:
1)doesn't work installed by Warehouse(i have installed manually) 2) When you launch the application there is a blank page
Attached Images
 
 
Posts: 371 | Thanked: 1,295 times | Joined on Dec 2013
#4
Hmm... need to debug it. Just a sec.
__________________
Donation for my sailfish apps via PayPal
 
Posts: 748 | Thanked: 2,778 times | Joined on Jan 2011 @ Czech Republic
#5
I have also experienced these two errors (not being able to install through Warehouse and the blank screen).

The error code of the former is:
Code:
[W] unknown:11 - file:///usr/share/harbour-webcat/qml/pages/helper/db.js:11: Error: no such column: agent Unable to execute statement
[W] unknown:107 - file:///usr/share/harbour-webcat/qml/pages/helper/db.js:107: Error: no such table: settings Unable to execute statement
I know it's hard to debug such things when databases persist in the SDK

EDIT: Nevermind, that was not the right advice. But the error lies there.
__________________
I don't understand why would anyone use a random, insecure, proprietary chatting solution as WhatsApp, when you have so many safe and open alternatives.
Please, don't use it. If this doesn't convince you, read more here.
The worst thing is even if you don't use it, it takes one ***** who does and has your number in his/her contacts and your number is uploaded to servers of this insane company for 'anyone interested' to read.
Thumbs up for everyone supporting WhatsApp on Maemo. NOT

Last edited by nodevel; 2014-01-11 at 15:45.
 
Posts: 371 | Thanked: 1,295 times | Joined on Dec 2013
#6
For the white screen please make sure to have qt5-qtgraphicaleffects installed.
I will upload a new package with this as dependency when I figured out the db.js problem.
Thx for your help and patience.
__________________
Donation for my sailfish apps via PayPal
 

The Following 2 Users Say Thank You to llelectronics For This Useful Post:
Posts: 371 | Thanked: 1,295 times | Joined on Dec 2013
#7
Update: I think I fixed it: https://openrepos.net/sites/default/...-2.armv7hl.rpm
__________________
Donation for my sailfish apps via PayPal
 

The Following 5 Users Say Thank You to llelectronics For This Useful Post:
Morpog's Avatar
Posts: 956 | Thanked: 2,620 times | Joined on Nov 2011
#8
llelectronics you won't make it to harbour with gt5-qtgraphicaleffects
 
Posts: 371 | Thanked: 1,295 times | Joined on Dec 2013
#9
Really ? Hmm... then I need to think about something else to make it to harbour.
__________________
Donation for my sailfish apps via PayPal
 
Posts: 748 | Thanked: 2,778 times | Joined on Jan 2011 @ Czech Republic
#10
Thanks! Looks great!

Just few issues I noticed:
  • The URL bar covers a small part of the page - on one website I visit, there a link to switch to mobile version, which is currently hidden behind the bar (I just noticed that the bar becomes thinner after scrolling, but only on longer pages).
  • The tab bar is visually bit confusing - not really sure what is current tab... You could remove the 'New tab' and 'Close' buttons as they're accessible through the pulley menu
  • Would you consider adding bookmark editing function? It is quite easy to edit bookmarks in the default browser (through a config file), but since here it's in a database... It is difficult to make a bookmark pointing to http://talk.maemo.org/search.php?do=getnew
  • Switching to landcape and then back to portrait zooms the page in
  • Rotation animation is not very smooth

These are just minor issues - I am very impressed by your work. I wouldn't have imagined something would replace the default browser in its initial version. Simply amazing.
__________________
I don't understand why would anyone use a random, insecure, proprietary chatting solution as WhatsApp, when you have so many safe and open alternatives.
Please, don't use it. If this doesn't convince you, read more here.
The worst thing is even if you don't use it, it takes one ***** who does and has your number in his/her contacts and your number is uploaded to servers of this insane company for 'anyone interested' to read.
Thumbs up for everyone supporting WhatsApp on Maemo. NOT
 
Reply

Tags
browser, webbrowser

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:39.