Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mthli/ninja
Yet another web browser for Android.
https://github.com/mthli/ninja
android bowser
Last synced: 13 days ago
JSON representation
Yet another web browser for Android.
- Host: GitHub
- URL: https://github.com/mthli/ninja
- Owner: mthli
- License: apache-2.0
- Created: 2015-03-16T08:56:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T17:49:56.000Z (8 months ago)
- Last Synced: 2024-08-09T13:16:06.434Z (3 months ago)
- Topics: android, bowser
- Language: Java
- Homepage:
- Size: 16.9 MB
- Stars: 953
- Watchers: 63
- Forks: 247
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ninja
===![background.png](/Art/screenshot/background.png "background.png")
Yet another web browser for Android.
[Ninja in 酷安](http://coolapk.com/apk/io.github.mthli.Ninja "Ninja网络浏览器")
[Ninja in 少数派](http://sspai.com/29245 "轻快到能上天下地,强悍到能四两拨千斤:Ninja 网络浏览器")
[Ninja in 小众软件](http://www.appinn.com/ninja-for-android/ "Ninja:可以在后台打开网页的 Android 浏览器")
[Download latest Ninja.apk](https://github.com/mthli/Ninja/releases/download/v1.3.4/Ninja.1.3.4.apk "Ninja.1.3.4.apk")
__SUPPORT: Android 4.1+__
__LONG TERM MAINTENANCE.__
__BUT I HAVE TO PREPARE FOR THE FINIAL EXAM, SO SUSPENDED DEVELOPMENT__.
## Features:
- Open links in background without ever leaving your favorite apps.
- Lightweight and no extra permissions.
- Custom home.
- Fashion tab switcher.
- [html5test](html5test.com "html5test.com") access __509UP__ with latest [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview "Android System WebView").
- __Adblock__ and whitelist.
- __Readability__.
- Capture whole page screenshot.
- Custom volume control.
- Webpage go to top easy.
- More features coming soon...
## How to use Ninja?
Basically Ninja is a simple web browser like any others, but there are some different things you need to know:
### Custom home:
- First login Ninja, home show as `about:blank`.
- Use the overflow menu's __Add to home__ to pin webpages.
- Use the overflow menu's __Relayout__ to custom your home.
- __Long press__ on a card of home, you can edit it title.
### Switch tabs:
- You can set tab switcher position in __screen top or screen bottom__ at `Setting/Browser/Tab Position`.
- Press the __address bar__ and __drag it down or up__, then the fashion tab switcher will display.
- __Swipe up/down__ to dimiss a page.
- Or just __swipe the omnibox left/right__ to switch tab :)
The __Settings__ is located in the top or bottom left of tab switcher, the __gear__ icon.
__Remember__ that if the soft keyboard is shown the tab switcher would not works, it's our design :)
### Load in background when you click links in other App:
1. Set Ninja as your __default browser__ when click links.
2. __Single tap__ will open links in background, and show a clickable notification in statusbar.
3. __Double taps__ will show a dialog that allows you to open links in foreground, etc.
### AdBlock whitelist:
Since AdBlick maybe cause some websites display error, you can add they to `Setting/AdBlock/Whitelist`.
### Readability:
Ninja support read mode but it need __the token of Readability__.
To get the token you should go to [Readability Developer APIs](https://www.readability.com/developers/api "Readability Developer APIs") to get your own token and set it in `Setting/Readability/Token`.
### Screenshot:
Ninja supports __capture entire webpage__ function.
But that is not means you could screenshot a long long long webpage(__OOM__, etc).
## Q&A:
### Where is the AdBlock's hosts.txt comes from?
We don't use the AdBlock Plus' Easylist.
The `hosts.txt` comes from [hpHosts](http://hosts-file.net/ad_servers.txt "hpHosts").
### Why no incognito mode?
Incognito mode is a necessary feature for a web browser, but since `WebView(Context context, AttributeSet attrs, int defStyleAttr, boolean privateBrowsing)` was __deprecated__ in API level 17 and no longer supported, the incognito mode is __conflict__ with our UI design, so we stop it(but maybe restart to develop it someday). If you want to add incognito mode you can fork our sourse code and do it by yourself :)
### Why not Google Play?
![reject.png](/Art/info/reject.png "reject.png")
### What can I do for Ninja?
- New design launcher icon(must be 512px * 512px).
- Translate `ninja_introduction_en.md` at [this link](https://github.com/mthli/Ninja/blob/master/Ninja/assets/ninja_introduction_en.md "ninja_introduction_en.md")
- Translate `strings.xml` at [this link](https://github.com/mthli/Ninja/blob/master/Ninja/res/values/strings.xml "strings.xml").
- Fix bugs and add awesome features.
- Fork and pull request is welcome all time :)
## How to use the source code?
Just import the `Ninja` folder with your __IntelliJ IDEA__.
## Derivatives:
- [UltimateBrowserProject](https://github.com/balzathor/UltimateBrowserProject "UltimateBrowserProject")
## Thanks:
- [AndroidSlidingUpPanel](https://github.com/umano/AndroidSlidingUpPanel "AndroidSlidingUpPanel")
- [Android Swipe-to-Dismiss Sample Code](https://github.com/romannurik/Android-SwipeToDismiss "Android Swipe-to-Dismiss Sample Code")
- [android-ago](https://github.com/curioustechizen/android-ago "android-ago")
- [DynamicGrid](https://github.com/askerov/DynamicGrid "DynamicGrid")
- [Lightning Browser](https://github.com/anthonycr/Lightning-Browser "Lightning-Browser")
- [typo.css](https://github.com/sofish/typo.css "typo.css")
## License:
_[Apache License, Version 2.0](https://github.com/mthli/Ninja/blob/master/LICENSE "Apache License, Version 2.0")_