• 下载最新的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. UIWebView的使用,简单浏览器的实现

    #import "ViewController.h" @interface ViewController () <UIWebViewDelegate> @propert ...

  2. Linux内核学习笔记2

    http://www.cnblogs.com/bastard/category/412387.html

  3. perl指针引用

    http://bbs.chinaunix.net/forum-viewthread-tid-570031.html

  4. 信号之sigpending函数

    sigpending函数返回信号集,其中的各个信号对于调用进程是阻塞的而不能递送,因而也一定是当前未决的.该信号集通过set参数返回.(这些信号是已经产生的信号,但因为信号屏蔽字中对其设置了屏蔽位,从 ...

  5. PAT 1016

    1016. Phone Bills (25) A long-distance telephone company charges its customers by the following rule ...

  6. Java项目打包在CMD或者Linux下运行

    Java项目打包在CMD或者Linux下运行 1.在CMD下运行 在eclipse中将项目export成jar包,然后用压缩软件解压

  7. Gmail账户安全冰山一角

    本文没有任何价值,只是一个事实的记录. 看到qq邮箱有个代理其他邮箱的功能,就好奇地输入了我的Gmail邮箱,结果代理不成功. 本来没care,后来gmail自己弹出来一封邮件. 后来我确认是本人所为 ...

  8. 浅谈在实验室的一个作品---8x8x8光立方

    在实验室学习51单片机之后,觉得是得做点东西,提高一下动手能力,光立方就成了自己忙碌的目标.买了1000个灯,准备好之后就开始了为期一周的焊接, 一周之后就是这个样子啦.... 之后就进行了电路板的焊 ...

  9. Vim 的补全模式加速器,轻松玩转全部 15 种自动补全模式

    1. 关于 Vim 补全模式    ---- Vim 一共提供了 15 种自动补全的模式(:help ins-completion).其中有两种的补全列表内容与另外两种相同,只是排序不同,这 15 种 ...

  10. JD(转载)

    时间:2012-9-11 地点:川大 我只能说第一家公司,不是一般的火爆.不得不吐槽一下: 京东宣讲完全没有计划,只看到个下午两点半宣讲,结果跑过去,下午两点是宣讲管培的.在川大外的德克士呆了一下午. ...