WebBrowser(iOS)
一款用于网页浏览的APP(Web Browser For iOS)。Github地址
Features - 功能
- 扩展功能,通过JavaScript注入来扩展功能,在菜单->扩展页面进行选择,目前包括(大家如果有想要的功能,或者直接上代码更好,欢迎大家在Issue中提出):
- 无图模式
- 屏蔽百度广告及banner推广【默认开启】
- 护眼模式(多种颜色可选)
- 多Tab页浏览(multi-tab browsing)
- 冷启动恢复浏览记录,包括当前页及前进后退页面(session restore, includes current page and backforward list)
- 多窗口管理,屏幕左右边缘滑动切换窗口(multi-window management, edge pan to switch windows)
- 书签、历史记录管理(bookmark、history manage)
- 页内查找(find in page)
- 点击标题栏进行页面访问或搜索(tap the title bar to input url for surf or key to search)
- 自动监控剪切板
URL
,可在新窗口中打开
Usage - 用法
Two choices to run the project.
Carthage
Run by - Clone or download project.
- Run command
carthage update --platform iOS
. - Open
WebBrowser.xcodeproj
and run.
CocoaPods
Run by - Clone or download project.
- Run
sh transfer-carthage-to-cocoapods.sh
shell script which located in project's root directory. - Run
pod install
. - Open
WebBrowser.xcworkspace
and run.
Requirements - 依赖
Demo
1. Multi-tab (多窗口):
左右边缘滑动切换窗口:
2. Search (搜索):
3. No Image Mode (无图模式,功能已并入扩展)
4. History (历史)
- Long Press to select options. (长按记录可弹出选项按钮)
- Tap to open history in current window.(点击记录会在当前窗口打开历史页面)
5. Favorite (收藏)
In non-editing mode (在非编辑模式下操作)
- Long press on directory to edit directory name in non-editing mode.(长按目录来编辑目录名字)
- Long press on bookmark item to edit bookmark's url, name, directory in non-editing mode.(长按书签项来编辑书签的地址、名字、以及所在目录)
In editing mode (在编辑模式下)
- reorder, delete directory in editing mode.(删除、排序目录)
- click "新文件夹" button to add new directory in editing mode.(点击"新文件夹"按钮来创建新的目录)
- reorder, delete bookmark in editing mode.(删除、排序书签)
- add new bookmark.(添加新书签)
6. find in page (页内查找)
License
The MIT License (MIT)
Copyright (c) 2017 Zhong Wu
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.