/WebBrowser

iOS浏览器 Web Browser for iOS

Primary LanguageObjective-CMIT LicenseMIT

WebBrowser(iOS)GitHub license carthage compatible Build Status

一款用于网页浏览的APP(Web Browser For iOS)。Github地址

Features - 功能

  1. 扩展功能,通过JavaScript注入来扩展功能,在菜单->扩展页面进行选择,目前包括(大家如果有想要的功能,或者直接上代码更好,欢迎大家在Issue中提出):
    • 无图模式
    • 屏蔽百度广告及banner推广【默认开启】
    • 护眼模式(多种颜色可选)
  2. 多Tab页浏览(multi-tab browsing)
  3. 冷启动恢复浏览记录,包括当前页及前进后退页面(session restore, includes current page and backforward list)
  4. 多窗口管理,屏幕左右边缘滑动切换窗口(multi-window management, edge pan to switch windows)
  5. 书签、历史记录管理(bookmark、history manage)
  6. 页内查找(find in page)
  7. 点击标题栏进行页面访问或搜索(tap the title bar to input url for surf or key to search)
  8. 自动监控剪切板URL,可在新窗口中打开

Usage - 用法

Two choices to run the project.

Run by Carthage

  1. Clone or download project.
  2. Run command carthage update --platform iOS.
  3. Open WebBrowser.xcodeproj and run.

Run by CocoaPods

  1. Clone or download project.
  2. Run sh transfer-carthage-to-cocoapods.sh shell script which located in project's root directory.
  3. Run pod install.
  4. Open WebBrowser.xcworkspace and run.

Requirements - 依赖

Demo

1. Multi-tab (多窗口):

tab

tab

左右边缘滑动切换窗口:

tab

2. Search (搜索):

search

3. No Image Mode (无图模式,功能已并入扩展)

no image mode

4. History (历史)

  1. Long Press to select options. (长按记录可弹出选项按钮)
  2. Tap to open history in current window.(点击记录会在当前窗口打开历史页面)

history

5. Favorite (收藏)

In non-editing mode (在非编辑模式下操作)
  1. Long press on directory to edit directory name in non-editing mode.(长按目录来编辑目录名字)

favorite

  1. Long press on bookmark item to edit bookmark's url, name, directory in non-editing mode.(长按书签项来编辑书签的地址、名字、以及所在目录)

favorite

In editing mode (在编辑模式下)
  1. reorder, delete directory in editing mode.(删除、排序目录)

favorite

  1. click "新文件夹" button to add new directory in editing mode.(点击"新文件夹"按钮来创建新的目录)

favorite

  1. reorder, delete bookmark in editing mode.(删除、排序书签)

favorite

  1. add new bookmark.(添加新书签)

favorite

6. find in page (页内查找)

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.