Git Product home page Git Product logo

webbrowser's Introduction

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.

webbrowser's People

Contributors

zhongwuzw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webbrowser's Issues

做得很棒喔

可不可以换成wk,现在多开webview内存消耗比较大,而且反应也比较慢
我自己尝试过换成wk,改动还蛮大的,主要是用了蛮多替换方法的代码,不好换

作者,你可以换成wk吗,非常感谢。

作者你好,请教一个技术问题

如果我想全屏(而非屏幕边缘)切换tab页,我该如何解决原生的全屏滑动手势和网页轮播图滚动之间的冲突?我期望达到的效果是像其他浏览器一样,手指在网页轮播图滚动时,原生滑动手势不响应,反之响应。

kapture 2019-03-05 at 15 45 13

某个url加载不显示问题

大神你好,我用UIWebView练习写的简易浏览器一般网站都能正常打开,唯独有一个url(地址不便粘上望理解)加载完成也没报错,可一直是白屏,在电脑上和手机上用浏览器却可以打开,于是找到了您写的这款浏览器跑起来执行竟然也可以访问,小白希望您能提供一点解决思路,不胜感谢~

误会误会

问题已解决,原来不是用的cocoaspod。哈哈 都是误会

压根打不开啊 老哥!

# 各种库缺少,然后我自己创建了podfile,下载了那些库,还是运行不了哎。
望回复老哥。

项目无法运行

使用的carthage方式,成功update后,xcode编译通过。
运行时在启动页面报错 dyld: Library not loaded Reason: image not found 涉及AFNNetWordking.framework,GCDWebServers.framework,Mantle.framework.
将涉及的framework添加到Embedded Binaries内后,再运行,在启动页面时报错。如下图

image

请问是哪里没有弄对?

UIWebView

大佬 解铃还需系铃人 你的UIWebView 小弟还没发改成WKWebView

某些界面视频播放不了

新问题

*** Fetching Mantle
*** Fetching CocoaLumberjack
*** Fetching AFNetworking
*** Fetching SDWebImage
*** Fetching GCDWebServer
*** Fetching MBProgressHUD
*** Checking out GCDWebServer at "3.4.2"
*** Downloading AFNetworking.framework binary at "3.1.0"
*** Checking out AFNetworking at "3.1.0"
*** Checking out MBProgressHUD at "1.1.0"
*** Checking out SDWebImage at "4.2.2"
*** Checking out CocoaLumberjack at "3.3.0"
*** Downloading Mantle.framework binary at "2.1.0"
*** xcodebuild output can be found in /var/folders/9f/pmrx8jqs5lb0850fszpbh3yr0000gp/T/carthage-xcodebuild.vcNK5H.log
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/yyliu/Downloads/WebBrowser-master/Carthage/Checkouts/AFNetworking/AFNetworking.xcworkspace CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 72:
xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH

QQ一键登录失败

你好 有问题想请教

你好 , 我们正在做浏览器项目,发现你的项目非常好,想跟你更深入的学习。麻烦请+QQ 676353425 非常感谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.