yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] anthonycr:
Hey everyone, there's a new beta out on the Play Store, go get it! If it's not showing up for you, either you haven't joined the G+ community necessary, or else it's still propagating. I'll try to get a version up on Github for download tomorrow. If you want the latest code, it can be obtained from the Dev branch of the repository (it's not ready to be pushed to master just yet). Enjoy, and feedback welcome.

Change log:

* updated for lollipop

* fixed orbot problems on lollipop

* material design (on all supported android versions, thank you support libraries)

* added text reflow for KitKat and up

* improved inverted rendering for KitKat and up (hopefully a solution will be found for everyone)

* color mode - colors the browser to match the website - will be made optional in the future for those that don't like it

* fullscreen mode works better

* search suggestions slightly sped up

* long press on tab for option to close browser or close tab

* of course other improvements as well

Community added features

* new/updated translations

* revamped settings (sorted for easier use)

* better "find in page option"

Browse safely and have fun!
[Android Apps and Games] krule031:
[MENTION=4544494]anthonycr[/MENTION]

New update looks great, well done!

I was just wondering, could that 3-dot button on the top be removed for phones with physical menu button? If not nevermind, I'll live with it. :D

And please tell me what is the difference between free and + version of the browser?
[Android Apps and Games] anthonycr:
I think I can do that, glad you think it looks good :)

Plus version just allows more than ten tabs to be opened and for adblock to be enabled. I designed the free version so that I could use it as my daily driver without being annoyed and that those who want a few extra features that casual internet users aren't going to miss.
[Android Apps and Games] aduncus:
Hi Anthony,

Would it be possible to add share feature in incognito mode beside copying the url? I've just realize there are no sharing options when I want to add the page I'm visiting to pocket. It's just my opinion though. Everything else is great for me. Your browser is my daily driver. Thank you so much for your time to develop this great browser

Cheers
[Android Apps and Games] krule031:
[MENTION=4544494]anthonycr[/MENTION]

Do that if possible, I would appreciate that.

And thanks for explaining. :)
[Android Apps and Games] anthonycr:
Yeah sure, I left the share option out because I didn't want anyone accidentally sharing something accidentally, but it takes several taps to share (press menu, press share option, choose app to share with, press button in said app to share) so it's probably safe to say people won't be sharing something accidentally.
[Android Apps and Games] aduncus:
Thank you. Will wait for your update. Cheers
[Android Apps and Games] anthonycr:
Hey everyone, on Lollipop there is a new capability in the WebView to block 3rd party cookies. I'm going to add this as an option to Lightning but need your opinion, should the browser block or allow 3rd party cookies by default?
[Android Apps and Games] rootist00:
not a problem thank you ;)

______________________

kozbon
[Android Apps and Games] Optimissimus99:
I dont think it should by default. Because many Websites (e.g. Amazon) do need them
[Android Apps and Games] andy_rose:
Agreed.
[Android Apps and Games] :
I would allow 3rd party cookies by default.
[Android Apps and Games] anthonycr:
Okay so I allowed third party cookies by default. A new beta is out with the following additions:

* third party cookie blocking

* ability to turn off color mode

* improved search suggestions algorithm

* slight memory improvements

* full material design (as much as possible) for all android versions 4.0 and above (settings looks better now for most people)

* unnoticeable precautions to run bug free

* you can share in incognito mode per request.

There might be other stuff I've forgotten. Anyway, it's up on the play store (4.0.2, there was a small problem in 4.0.1) and you can download the plus apk from github: https://github.com/anthonycr/Lightning-Browser/releases/tag/v4.0.2a-beta
[Android Apps and Games] bebolint98:
Hello everybody!Somebody know how can I set this browser to not save the google search history?
[Android Apps and Games] Tjee:
Don't use Google? :p

I think it's cookie related though
[Android Apps and Games] Draygon:
Oh, my, god...!!!!!!!!!

This is absolutely amazing. What did you do with Lightning Browser? This is by far the most awesome mobile browser I've seen. WOW!!!!

Great man, absolutely buying the plus version immediately.

Especially thanks for adding "Block 3rd party cookies", really nice you care about privacy.
[Android Apps and Games] anthonycr:
I'll try to fix this, it isn't specifically cookie related because cookies are disabled in incognito mode but it might be related to form data and saving it. I'm gonna see if I can find the setting that needs disabling.
[Android Apps and Games] anthonycr:
Haha thanks for the kind words. There's always room for improvement and you can thank Google for adding the ability to block third party cookies as they just added it to the WebView in Lollipop!!
[Android Apps and Games] anthonycr:
It's not exactly cookie related (cookies are disabled) In the browser (for Incognito mode), I have the following things disabled (A few things I changed today):

Cookies (Have always been disabled, unless explicitly changed otherwise)

History Logging (Has always been disabled)

Geolocation (could be enabled if you changed the location setting, now always disabled)

Save Passwords (Originally depended on your password setting, now always disabled)

Save Form Data (Originally depended on your password setting, now always disabled)

Even with all those things disabled (Google even complains about cookies being off) it still manages to save the searches you make.

I finally found the setting that is allowing it to save the searches: setDomStorageEnabled... This is default disabled in the WebView (I had it enabled) and according to the spec, it acts almost like a cookie, it basically is used as local storage. So those searches were being saved locally not being pulled from google servers. I've made the decision to disable it in Incognito mode as it poses a security threat (as noted in the screenshot from [MENTION=5917662]bebolint98[/MENTION]). It will likely cause problems with some websites, but that is something we'll have to live with (for instance the "latest news" widget on the new Android Police site doesn't work right with dom storage disabled). It's a security hole that needs to be filled and since security is a big part of why some people use lightning, the change has to be made.

If anyone has any issues with these changes being made to the settings for Incognito Mode, let me know. Security is important and I shrugged off the searches getting saved in those search boxes (I didn't really know why they were being saved), but now it will be fixed in the next version (version I publish for everyone this week assuming the beta version doesn't show any major problems).

EDIT: look at the commit I made to the repository with these changes and see what you think if you are inclined to programming: https://github.com/anthonycr/Lightning-Browser/commit/489a814f54cddec33fa4fd85f97b27e4a8c2e9a1
[Android Apps and Games] Optimissimus99:
What I really miss in this Browser is a reading mode like in Javelin, maybe you can add this ??
[Android Apps and Games] :
Maybe you can add an option to delete dom on exit. This could solve the issue.

Can you add something to switch to black/dark theme. Especially AMOLED users benefit from black/dark themes also it is more pleasing to the eyes in dark environments.
[Android Apps and Games] anthonycr:
Ive had a solution for reading mode lying around that uses JavaScript (it's based on the old readability script) but I'm not sure how well it works for different devices. Javelin and Link Bubble both use a library called Snacktory so I'm gonna take a look at that and try to integrate it into the app as both those browsers have great reader modes.

WebView doesn't provide an interface to request DOM deletion so that won't work. I've thought about it and default disabling while being secure, really breaks some websites... I tested it and most websites work but some have problems. I think what I'm going to do is add a security setting to enable/disable Dom storage in incognito mode and have it default enabled, so the privacy enthusiasts can disable it while the regular users can use incognito mode without worrying about pages not working.

I've said no dark theme in the past, but it is more possible now that I'm using a support library for the toolbar. I'll look into adding a theme option. I'm not changing the navigation drawer colors from white though because that's a material design rule.
[Android Apps and Games] bsinclair:
Does not run at all on Galaxy Tab 2 7.0, running stock 4.1.2 ROM. Browser opens but while trying to navigate anywhere, navigation bar goes up to the middle and them lightning just closes (no error messages whatsoever). Tried 4.0.0, 4.0.1 & 4.0.2, same problem. Version 3.2.0.1 runs just fine.

On a wish list, can we have iPad & iPod as useragent options? Some sites are just better with them (like NFL) .
[Android Apps and Games] anthonycr:
Any way you can grab a logcat of when it crashes? It runs fine on 4.1 AOSP last I checked, it might be that the color change mode is crashing it. It could also be the screen size, I tested on a 10 inch tablet and on my phone but I didn't test on my nexus 7 because it was dead so it could be I messed something up for that device size. I'll run it on my n7 later today and see if I can pinpoint the problem.

Yes to those user agents.
[Android Apps and Games] :
Maybe this is what you need.

localStorage.clear()

I tested it and data saved in local storage is still there.

http://sharonminsuk.com/blog/2011/0...fect-on-html5-localstorage-or-sessionstorage/
[Android Apps and Games] anthonycr:
Good find. I'm gonna see if running that JavaScript clears local storage, if it does I'll just run that when entering/exiting Incognito and I won't have to mess with DOM storage.
[Android Apps and Games] Capa1970:
Absolutely love the changes. A dark theme would be great! For some reason I had to go to Github to download the beta, I thought I had already joined the Google+ community.
[Android Apps and Games] Draygon:
Two suggestions of mine I'd love to see in future:

1. Folders for bookmarks

2. Import and export of bookmarks
[Android Apps and Games] Penacal:
I wonder why when I download a file, the same is renamed,as an example:ArchiZ4yall.zip is renamed to Q8isD52aWYi6KL3IAwThESidvtljRouZOXPIrHXOt82YJwTAY1cV8SyiKzB2eRBq.zip when downloaded, happens at least on Dropbox or drive, not sure if always, as I started to use lightning very recently . Some files even lost their extension. thanks
[Android Apps and Games] Bob823:
The latter is already implemented and working or am I mistaken?
[Android Apps and Games] Capa1970:
I am having some issues with the new beta update.

(1) When I use inverted mode at times one side of the page is blurry (the left side).

(2) In inverted mode the full page doesn't always fully render. On CNN when I would click a link to read a story, the first 2-3 paragraphs were there but not the rest. At first I thought it was the ad blocker built into this browser, and so disabled it, but it didn't help. When I switched from inverted mode to normal mode it was fixed.

I have an AT&T Galaxy S5 (not rooted).
[Android Apps and Games] bsinclair:
Can't get the log as my tab is not rooted. I disabled color change but it still crashes.
[Android Apps and Games] anthonycr:
If you have adb installed on a computer you could run the logcat using:

adb shell logcat -d > filename.txt

If you can't that's fine, I'll try to figure out the problem, but I can't replicate the crash right now.
[Android Apps and Games] anthonycr:
Inverted mode often has problems displaying stuff and I don't have a workaround right now.
[Android Apps and Games] anthonycr:
Latter is already implemented, former I still have to do.
[Android Apps and Games] bsinclair:
This might help you find where the problem is. Was trying the new 4.0.3 version to see if it was any better, and noticed that, if all my navigation happens direct typing the URL or using the history, it works just fine, no problems. As soon as I open the bookmarks, a couple of seconds later it freezes (can't scroll the bookmarks) and them lightning closes.

In summary, if I do not use bookmarks, it runs perfect.
[Android Apps and Games] Capa1970:
Would it be possible to add an optional pop up blocker?
[Android Apps and Games] bsinclair:
A new suggestion, for both Lightning & Thunder. I normally like to have the mobile version of a site while my phone/tablet is in portrait orientation. But, when using on landscape, the desktop version fits better.

Would be possible to have two settings for useragent, one on portrait & one on landscape? :)
[Android Apps and Games] anthonycr:
That's really strange but is helpful, I'll look into the bookmarks to see if there's something messed up.

Sure.

Hmmm, good idea, but seems like it could cause a lot of unnecessary reloading of pages.
[Android Apps and Games] dragonballz2k:
I always wondered this why is it when I use chrome beta on my nexus 9 it get's really hot and can't handle more than a couple tabs, but when I use this browser with android built in rendering engine everything feels so more smoother. I don't understand why a tegra k1 has problems with it. Thanks for the great browser bought it to support you :)
[Android Apps and Games] bsinclair:
About page reloading, just keep track of when useragents are different. In this case, when you get the message about orientation change, do a page refresh. This way, when useragents are the same, it will behave like now; if they are different, it will automatically reload the page (right now we have to change orientation, menu, change useragent, refresh).
[Android Apps and Games] random_001:
Very nice! I like it.
[Android Apps and Games] anthonycr:
[MENTION=918475]bsinclair[/MENTION] when it crashes for you it doesn't show a crash dialog right? It just crashes and disappears?
[Android Apps and Games] bsinclair:
Yes, that is correct, Lightning just closes.
[Android Apps and Games] bsinclair:
On thunder, any way of having an option to show bookmarks just like you do in lightning? Although what you have now is nice, it actually replaces the content of the current tab when we open bookmarks, so we kind of lost that tab.
[Android Apps and Games] b886b:
Your browser rocks, I have been using it for one year and currently I am on your latest beta version downloaded form your github and I have to say it is the best browser I have ever used on android. However, I am experience a minor setback and that is I cannot save password on some of the website, I understand that Lightning uses the default browser to enable such function but according to this website https://jira.cyanogenmod.org/browse/CYAN-4536 I can see that the default aosp browser has some problem with saving password, and I would like to know if there is any solution to this problem? Or is there any workaround?

Thanks for your great work.
[Android Apps and Games] :
'FREAK' vulnerability

https://freakattack.com/clienttest.html

Works with Lightning. I guess we can't do much at the moment.
[Android Apps and Games] lordsony:
Scrolling Lag/Bug

Hey!

First off: what a great browser! Really enjoy using it and gladly became pro!

1. My only real annoying problem is:

When clicking on a link that opens a new tap/window (without holding down on the link and tapping on "open in new tap" first), scrolling through that new tab will annoyingly come with heavy stutter / lag - anybody else with that problem? (I'm on Android 5.02, HTC One M8)

The problem seems to lie with webview (merely my guess, as every webview browser including lightning seems to be affected unter lollipop)- unfortunately, signing up for the webview beta channel doesn't seem to help, as the webview-based browser seemingly continue to use the old webview version (37) and not automatically using the webview beta version (40) that is also installed on the phone.

Does anybody (anthonycr?)have a solution for this, like for example telling me how I would be able to force the browsers to use the beta version instead of the preinstalled (old) webview version)?

Would be greatly appreciated, as the bug is really annoying when browsing....

With best regards,

tom

P.S.: [MENTION=4544494]anthonycr[/MENTION]: Merely a suggestion: Any thoughts on implementing an easier tap switching gesture so far? (like for example edge-swiping or two-finger swiping to switch to another open tap?) For me, your browser would be perfect then! (Could also be a mere option in settings)
[Android Apps and Games] AndreVonDrei:
Recently discovered Lightning and after playing with it for 30 min I went Plus.

Coming from various other browser, I do have some feature requests:

- Stack/Bubbles: Opening links from external apps in foreground through the use of stacks/bubbles (Example: Javelin/Link Bubble)

- Immersive/Color Mode on Navigation bar: Either by allowing full Immersive Mode (transparent/hidden) or mirroring the color of the address bar (Example: YouTube/None)

- Sortable bookmarks / Sortable tabs: Allow manual sorting of the bookmarks (current workaround is naming bookmarks alphabetically/numbered) and tabs (no workaround available)

- Quickchanging User Agent: Make option in overflow menu to change User Agent on the fly

- Adblock subscription: Allow for adding and modifying subscription of lists of blocked domains (Example: Adblock on Chrome Desktop)

- Tabs showing up in Recent list: Makes it possible to change tabs by pressing the Recent/Recent Apps/Task Switcher button (I can't find the official name for the third button on the Navigation bar) ﻿
[Android Apps and Games] :
I think i found a really strange bug:

It happens when you open many tabs (doesn't matter if they are empty or not), open the 3-dot-menu, go to settings and close settings.

When you tab somewhere on the screen the black graphic glitch disappears and everything is fine again.

I think it has nothing to do with my phone. It happens with CM12 and other Lollipop roms. I didn't test KK.

Do you need a log?

And thanks fot this awesome browser. I really love it :D
[Android Apps and Games] Optimissimus99:
On my Tablet (MTK) it also has this glitch os is KITKAT (4.4.2)
[Android Apps and Games] Freak07:
The last weeks scrolling on some Websites, eg on d xda Portal posts, is not continuous. When I lift my finger the scrolling stops immediately. Is there anything that can be done about this.
[Android Apps and Games] Optimissimus99:
I think this is a webview Bug, as it is also in other webview based browsers (e.g. Javelin)
[Android Apps and Games] nick_white:
I'm using v4.0.3a-beta.

You can't change the full path of the download location, just the part after the internal SD card. Is there a reason for this?

There is that stupid restriction on KitKat with the external SD, but that doesn't apply for other versions of Android, for rooted ones and for phones where the vendor got around the problem (lots of chinese OEMs).
[Android Apps and Games] kassaaam:
Hi! Bug report: when download any File from any website, when the download completes I can't open the File directly from the notification bar. I can open the downloaded files directly from the notification bar from every other browser but with lightning, it's annoying I have to open the File from the downloader app itself.

FIX,!
[Android Apps and Games] Pete_not_Keith:
Great little browser

What a great little web browser you have created here Anthonycr. I recently switched from Opera after discovering f-droid.

I'd just like to make a few comments...

Firstly, there are a number of comments here asking you to change the 'closing the last tab closes the browser' feature. I think that is really good, and its something i got used to very quickly.

Now a couple of feature requests; comments #1011 et al mention the inability to download mp3 files, this issue also extends to other file types too, such as .svg files. As a result of this I have to keep another browser installed just to download these various file types, a fix for this would be great. I've put a link to a Wikipedia page below for a .svg file to highlight the issue.

upload.wikimedia.org/wikipedia/commons/1/11/Tree_of_life_SVG.svg

A few other posts here request a dark theme, I think this would also be quite desirable, amoled and all.

Anyhow, thanks for a great browser and all your hard work.

PnK
[Android Apps and Games] lordsony:
[MENTION=1068928]antonycr[/MENTION]: just wanted to say what an awesome job you have done, especially with the new version:dark theme, very speedy, new tab shortcut, reader mode doesn't crash anymore in the new beta and is unbelievably speedy, great idea with the colored themed-

Gladly bought +!

You might consider adding the following features (just my taste), but it's already the best android out there for me!

Cheers!

1. PERFECT would be the ability to somehow change tabs more quickly, for instance via (double finger- or edge-) swipe gesture!

2.left handed mode would be nice to have in the settings, i.e. tabs and bookmarks would switch sides (tabs, as the more frequent of the two, would be more reachable with the left thump)

3.reader mode is very quick, but needs two presses instead of one and is fairly hidden (-> shortcut titlebar perhabs?)

4.saving login-data doesn't seem to work properly

but these are minor "issues")

BUG: could you maybe fix the known webview 37 bug (when opening a page via a link on a website that opens a new tab (not via "new tab"), scrolling is lagging heavily and not fluent) or tell me how to get lightning to use webview 40/beta instead?! That would be greatly appreciated as it's very annoying, though of course not your fault)
[Android Apps and Games] xavihernandez:
Hi [MENTION=4544494]anthonycr[/MENTION],

Thanks for this app!

Just wanted to notice you I cannot mention from Twitter mobile website with Lightning Browser. I can with Chrome for example. It works on facebook tho
[Android Apps and Games] crayola555:
Hey there, this is a nice browser and I enjoyed using it. Here's a feedback suggestion: next update add some ways to scroll pages with a scroll button or volume rockers. I could swipe up the page, but sometimes when I visit a long page with lots of information it takes a lot of swiping to get back to top :p
[Android Apps and Games] nick_white:
I think swipe "acceleration" (quick consecutive swipes have increasing effect) would be fine too. Firefox implemented it recently.
[Android Apps and Games] Uriens:
Thanks for this light browser!

Would be possibile to create an extension for Chrome in order to "send" webpages from Chrome to Lightning browser?
[Android Apps and Games] aritraroy:
It looks like a nice new browser to try. Will give it a shot soon. :)
[Android Apps and Games] XaoDefy:
Search suggestions in locale language.
[Android Apps and Games] Meneldur:
Nice, complete and quick browser.

Always getting "couldn't load anything from webpage" on reader mode, though [emoji17]
[Android Apps and Games] cpvm:
Anyone know how can i translate to spanish the search button (the one in the middle)?, cause i can found any way to translate it
[Android Apps and Games] Meneldur:
Hello!

I tried to install Lightning on a HP 7 1800 (Intel) but it fcs with SIGSEGV. Here's logcat.