• 下载最新的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. android---APN切换

    android手机客户端在上传文件时,有时候会一直失败,其可能的原因是APN的设置.wap下的成功率极低,所以在进行文件上传时最好设置下 apn为net形式.下面是我在网上找的一些代码,是由wap转n ...

  2. JavaScript学习总结-技巧、有用函数、简洁方法、编程细节

    整理JavaScript方面的一些技巧.比較有用的函数,常见功能实现方法,仅作參考 变量转换 //edit http://www.lai18.com var myVar = "3.14159 ...

  3. hdu 1348 Wall(凸包模板题)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1348 Wall Time Limit: 2000/1000 MS (Java/Others)    M ...

  4. 基于cocos2d-x的游戏框架设计——李成

    视频:http://v.youku.com/v_show/id_XMzc5ODUyMTI4.html?f=17330006 网易科技讯 3月31日,第四届CocoaChina开发者大会暨Cocos2d ...

  5. 自定义ZXing二维码扫描界面并解决取景框拉伸等问题

    先看效果 扫描内容是下面这张,二维码是用zxing库生成的 由于改了好几个类,还是去年的事都忘得差不多了,所以只能上这个类的代码了,主要就是改了这个CaptureActivity.java packa ...

  6. NekoHTML and Dom4j

    http://pro.ctlok.com/2010/07/java-read-html-dom4j-nekohtml.html package com.ctlok.pro; import java.i ...

  7. [置顶] 运算符重载,浅拷贝(logical copy) ,vs, 深拷贝(physical copy),三大件(bigthree problem)

    一般的我们喜欢这样对对象赋值: Person p1;Person p2=p1; classT object(another_object), or    A a(b); classT object = ...

  8. 常用CentOS 6/7 扩展源

    1.系统自带 baseextrasupdates 2.epel yum install epel-release https://fedoraproject.org/wiki/EPEL 3.el(用于 ...

  9. 为什么虚拟机上刚装的centos7只有lo回环网络接口?

    centos7默认安装时需要手动激活有线网卡.如果安装时没有激活,需要手动编辑vi /etc/sysconfig/network-scripts/下ifcfg-enoxxONBOOT="ye ...

  10. 给你看看我练习的oracle语句

    -------预算-- CREATE OR REPLACE VIEW V_YUSUAN_BGY_WZ20151204 AS SELECT tb_cube_fc05.pk_entity pk_org,/ ...