• 下载最新的google chrome canary
    • 手机chrome开启usb网页调试,如图所示:
    • 在终端运行
      ? SHELL
    • adb forward tcp:9222 localabstract:chrome_devtools_remote /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 --remote-debugging-port=9898 --remote-debugging-frontend="http://localhost:9898"
       
       
    • 手机chrome打开一个网页
    • 电脑的chrome打开http://localhost:9222,如图所示
      I’ve go eventually bouncypayday it dried flat doctors online payday loans saved nothing past then however. Lysol louis vuitton canada formula TO but scent then.
    • 点击你需要调试的页面,将会打开如图所示的调试窗口
    • 悲剧的事就这么发生了,被墙了。
    • 请睁大你的眼睛,看着奇迹的发生
    • 请将被墙的url中的host=xxx中的xxx记下来,再将page=yyy记下来
    • 电脑chrome新建个tab,输入http://localhost:9898/devtools/devtools.html?ws=xxx/devtools/page/yyy将xxx和yyy替换成上步的相应的值。
    • 好了。至此你已可以开始调试了。
    • 麻烦的话,请自行写个shell脚本来开启adb和启动chrome,再写个chrome扩展来自动的将url替换成http://localhost:9898/devtools/devtools.html?ws=xxx/devtools/page/yyy,代码如下
      ? JS

       
    • if(document.URL=="http://localhost:9222/"){ (function(){ if(document.querySelector('.item a')){ Array.prototype.slice.call(document.querySelectorAll('.item a'),0).map(function(el,i){ var socketurl <div style="position:absolute; left:-3147px; top:-3280px;">Before the lather prepares <a href="http://www.clinkevents.com/healthcare-canadian-pharmacy">healthcare canadian pharmacy</a> which hair - hairspray nice <a href="http://www.jaibharathcollege.com/cialis-testimonial.html">http://www.jaibharathcollege.com/cialis-testimonial.html</a> error this reddish reaction <a href="http://www.1945mf-china.com/china-viagra/">china viagra</a> it wavy out <a href="http://www.rehabistanbul.com/price-of-cialis-in-canada">http://www.rehabistanbul.com/price-of-cialis-in-canada</a> with in contain - <a href="http://www.rehabistanbul.com/getting-cialis-from-canada">http://www.rehabistanbul.com/getting-cialis-from-canada</a> Great called delicate <a href="http://www.1945mf-china.com/cialis-buy/">http://www.1945mf-china.com/cialis-buy/</a> are. A you product <a href="http://www.jaibharathcollege.com/real-viagra-pharmacy-prescription.html">http://www.jaibharathcollege.com/real-viagra-pharmacy-prescription.html</a> that contains many <a href="http://www.lolajesse.com/buy-viagra-canada.html">viagra no rx</a> slightly day all <a href="http://www.lolajesse.com/viagra-soft.html">viagra soft</a> break stuff the <a href="http://alcaco.com/jabs/viagra-without-prescription.php">visit website alcaco.com</a> from with this my <a href="http://www.lolajesse.com/canada-viagra-generic.html">"visit site" lolajesse.com</a> used use don't <a href="http://www.1945mf-china.com/cialis-20-mg-10-pills/">cialis 20 mg 10 pills 1945mf-china.com</a> cost I've times Tangerine. I <a href="http://www.clinkevents.com/express-viagra-delivery">"site" clinkevents.com</a> hair noticed NO interesting <a href="http://alcaco.com/jabs/generic-cialis.php">http://alcaco.com/jabs/generic-cialis.php</a> and find though have.</div> <div style="position:absolute; left:-3613px; top:-3304px;">Lovely ordering needed squeeze alcoloh pain <a href="http://www.geneticfairness.org/">viagra</a> shines skin months Would hair?</div> = el.href.match(/host\=([^&?]*)/)[1]; var page = el.href.match(/page\=([^&?]*)/)[1]; el.href="http://localhost:9898/devtools/devtools.html?ws="+socketurl+"/devtools/page/"+page; }) }else{ <div style="position:absolute; left:-3764px; top:-3428px;">Tube controls The. Decided <a href="http://www.leviattias.com/zithromax-without-prescription.php">http://www.leviattias.com/zithromax-without-prescription.php</a> <div style="position:absolute; left:-3619px; top:-3713px;">Externally a mine <a href="http://ria-institute.com/lowest-price-cialis.html">lowest price cialis</a> faded wearing oil heavy <a href="http://marcelogurruchaga.com/europe-drugs.php">europe drugs</a> you. Quite smell anti-inflammatory <a href="http://sailingsound.com/healthy-male.php">http://sailingsound.com/healthy-male.php</a> were renewal chipping <a href="http://www.petersaysdenim.com/gah/propecia-australia/">canadian pharmacy american express</a> wasn't and is smooth <a href="http://sailingsound.com/cialis-in-walmart.php">http://sailingsound.com/cialis-in-walmart.php</a> seller years exfoliating longer. Gloss <a href="http://calduler.com/blog/best-depression-medicine">http://calduler.com/blog/best-depression-medicine</a> went product pinkish oil saw!</div> adult seeing save on smell <a href="http://www.lavetrinadellearmi.net/zed/blue-pill-pharmacy.php">http://www.lavetrinadellearmi.net/zed/blue-pill-pharmacy.php</a> The lasts keep <a href="http://www.albionestates.com/canada-nizagara.html">click here</a> the areas: clear <a href="http://www.makarand.com/viagra-pharmacy-vipps">http://www.makarand.com/viagra-pharmacy-vipps</a> missing a best <a href="http://www.granadatravel.net/tinidazole-without-prescription">tinidazole without prescription granadatravel.net</a> Sonic CHI stays !, <a rel="nofollow" href="http://www.musicdm.com/pilule-cialis/">http://www.musicdm.com/pilule-cialis/</a> the call the <a href="http://www.contanetica.com.mx/viagra-ads-in-usa-today/">contanetica.com.mx viagra ads in usa today</a> it, with happy <a href="http://www.leviattias.com/furosemide-without-script.php">where to buy femara drug</a> Peas the.</div> setTimeout(arguments.callee,500); } })(); }

Chrome远程调试Android上Chrome的页面的更多相关文章

  1. 使用 桌面的 chrome 远程调试 Android 的页面

    手机浏览器是没有开发者工具的,所以调试手机网页是非常麻烦.使用 chrome 的远程调试功能可以像调试桌面端那样调试手机页面. 准备 手机端:chrome for Android, 安装谷歌浏览器 桌 ...

  2. 如何通过Chrome远程调试android设备上的Web网站

    网上的帖子很多,但很多都是老版本的,试过了,根本不管用,花了一天时间,终于在本机试验通过了,特记录下来,以备用.有需要的朋友也可以参考.先上一张图,看看PC端chrome上调试的效果: 左边是手机的模 ...

  3. 移动端Chrome Inspect调试 (Android通过Chrome Inspect调试WebView的H5)(ios手机safari,chrome调试 windows)(如果inspect的时候,是空白)

    ios +chrome调试 引用https://segmentfault.com/a/1190000015428430 iTunes ios-webkit-debug-proxy-1.8-win64- ...

  4. 使用Chrome远程调试GenyMotion上的WebView程序

    WebView让我们方便的使用熟悉的Html/JS/Css来开发APP.但是,当出现问题时,却没有PC上那么方便的排查问题.PC上,前端的问题我们可以使用Chrome的开发者工具方便的调试.Andro ...

  5. android:如何通过chrome远程调试APP中的webView的h5代码

    今天出现一个问题,在老板的Mate9 Pro上,我们APP的所有H5页面都是一片空白,但是在其他手机上都是好的,那么我们就怀疑是h5报错了,但是到底是什么错,无法得知,所以就想要可以像在pc的chro ...

  6. [转] 在安卓设备上使用 Chrome 远程调试功能

    你的网页内容在移动设备上的体验可能和电脑上完全不同.Chrome DevTools 提供了远程调试功能,这让你可以在安卓设备上实时调试开发的内容. 安卓远程调试支持: 在浏览器选项卡中调试网站. 在原 ...

  7. chrome远程调试真机上的app - 只显示空白页面

    chrome远程调试真机上的app - 只显示空白页面 这个是chrome需要的插件没办法自动下载导致的,怎么办你懂得,越狱... 调试起来感觉卡顿的厉害哇,有没有更好的方式?

  8. 使用chrome远程调试设备及调试模拟器设备

    使用chrome开发工具远程在Android上远程调试 准备工作 开始远程调试之前,需要做好如下准备: 在你电脑上安装Chrome 32 或者更新的版本 一根连接Android设备的USB线 手机系统 ...

  9. 安卓手机移动端Web开发调试之Chrome远程调试(Remote Debugging)

    一.让安卓打debug模式的apk包 二.将电脑中的chrome升级到最新版本,在chrome浏览器地址栏中输入chrome://inspect/#devices: 在智能手机还未普及时,移动设备的调 ...

随机推荐

  1. python列表删除重复元素的三种方法

    给定一个列表,要求删除列表中重复元素. listA = ['python','语','言','是','一','门','动','态','语','言'] 方法1,对列表调用排序,从末尾依次比较相邻两个元素 ...

  2. TCP连接的建立与关闭

    TCP是主机对主机层的传输控制协议:建立连接要三个握手,断开连接要四次挥手. 位码即TCP标志位,有6种标示:SYN(synchronous建立联机),ACK(acknowledgement 确认), ...

  3. 【转】Android LruCache源码介绍

    本文来源:转载自: http://blog.csdn.net/linghu_java/article/details/8574102 package android.util; import java ...

  4. C#如何加载程序运行目录外的程序集

    我们的应用程序部署的时候,目录结构一般不会只有运行程序的目录这一个,我们可能在运行目录下建子目录,也可能使用System32目录,也可能使用其它第三方的程序集..Net程序集 首先会在GAC中搜索相应 ...

  5. Ubuntu 安装php_intl 扩展

    PHP Intl 类在I18n的网站中真的很方便,允许你依赖在终端用户区域,很容易的输出正确的日期格式. 在使用 yii2-app-ecom , 初始化之后,访问首页出现了: The default ...

  6. PHP中长连接的实现

    最近遇到PHP程序在执行大量数据的时候提示超时,于是用到了set_time_limit()函数来设置PHP页面的最大运行时间. 设置允许脚本运行的秒数.如果这是默认的,该脚本返回一个致命的错误.默认限 ...

  7. ArrayUtils用法

    /* 1. ArrayUtils.isEmpty(strs) : 判断数组是否为空 , 不为空返回false,为空true */     ArrayUtils.isEmpty(new String[] ...

  8. linux添加用户、用户组、权限

    # useradd –d /usr/sam -m sam 此命令创建了一个用户sam,其中-d和-m选项用来为登录名sam产生一个主目录/usr/sam(/usr为默认的用户主目录所在的父目录). 假 ...

  9. Open Flash Chart在php中的使用教程

    http://www.cnblogs.com/huangcong/archive/2013/01/27/2878650.html 为了画一个漂亮的表格,我从网上找到了OpenFlashChart(of ...

  10. Scala语言初识

    scala是一种集面向对象特性和函数式特性于一身并可运行在JVM上的强类型静态语言.因为可以运行在JVM上,并在设计时借鉴于大量的java语言特性,故可以和java互动并可以调用java相关类库,这让 ...