Introduction to PC and mobile browser synchronous test tool Browsersync, test tool browsersync
In mobile Web page development, various problems are not easily discovered due to inconvenient debugging. But now with Browsersync, everything is done.
If you are not familiar with Browsersync, you can refer to Browsersync's Chinese website.
Quick start in five minutes
1. Install node. js before using Browsersync.
You often need to enter a URL in your phone browser when testing the API or other situationsA long list of URLs it's really troublesome to lose.Airdroid is very powerful without data cable, but sometimes old disconnect, not very cool. Send to mobile QQ bar still have to manually pasteSo I developed a gadget.Send a command with curl on your PC, enter the URL you want to open, and the phone's
Python determines whether a website is from a mobile phone or a PC browser #判断网站来自mobile还是pcdef checkmobile (Request): "" "NBSP;NBSP;NBSP;NBSP;DEMONBSP;: @app. Route ('/m ') defis_from_mobile (): if checkmobile (Request): return ' Mobile ' Else:return ' PC ' :p aramrequest::return: "" "useragent=request.headers[' user-agent ']# Useragent=env.get (' http_user_
A long time ago I wrote a browser to determine the browser version or phone type through the browser navigator, which describes the use of navigator to determine the browser type. Make a supplement on this article today!
Js judges the indexOf mode of Android or ios
/ / Determine the access terminal
Var
UC Browser PC version released a 3.1.1644.21 update, the new version is mainly joined the day cat Double 11 interactive function, and the interface has been optimized.
UC Browser PC version 3.1.1644.21 update content:
Dual 11 UC Special: Use Taobao account login UC Brow
3 times faster than Chrome! The world's fastest PC browser released
Chrome has always been the only choice in terms of speed and stability. Recently, a browser claims to be "the fastest in the world" and is three times faster than Chrome.Most importantly, this browser comes from an existing
hierarchy is deep, you may consider using * * (for any directory) match , any. css or. html file under any directory. Browser-sync start--server--files "**/*.css, **/*.html"Just connect your phone to the same network as your PC, and use your mobile browser to scan and open your Web page for simultaneous debugging.If you already have other on-premises server envi
, as long as hackers get encrypted text, through the internet on the public crack algorithm or tools, can be ordinary netizens use the browser saved password easily decrypted.
Figure 2 Easy to use internet exposed tools to crack browser saved password
Jinshan Poison PA Safety experts said, from the current monitoring data, browser password theft of
Arbitrary website Forgery Vulnerability in UC browser (PC)
Arbitrary website Forgery Vulnerability in UC browser (packaging)Browser version
#1. Arbitrary website forgeryPOC:
An error will occur after running the POC, but the UC browser helps us recover it, and the result
This article mainly for you in detail the PHP judge is the mobile phone or PC side, and PHP to determine whether it is a browser, with a certain reference value, interested in small partners can refer to
The example of this article for everyone to share the PHP judgment of two instances, one is the PHP judgment is the mobile phone or PC side, and the second is P
, greatly despise the next bar, but can test the platform is comprehensive.Http://www.webpagetest.org/mobileVi. SummaryThe above listed a variety of methods, each has pros and cons, I hope you choose the right way for yourself, I recommend Chrome comes with the simulator and Opera Mobile Emulator + Dragonfly method. Because of these two methods, close to the real phone environment, but also debugging CSS and JS.Of course, there is no mention of the best way is that you have a mobile phone, it is
weinre server weinre--httpport 8081--boundho St 10.12.12.213 or weinre--boundhost-all-or weinre--boundhost 10.12.12.213b. After successful operation: input display: 2015-03-11t05:39:07.109z Weinre:starting Server at http://10.12.12.213:8081 access page: http://10.12.12.213:8081/Introduce the following JS into the page to debug http://10.12.12.213:8081/target/target-script-min.js#anonymousExample:After opening your page with your phone, you can open the Weinre debug client on the Console debug p
1. sessions are shared by the same browser.But in the same browser and PC, their sessions are different ..So it is not shared.But if you are on the same machine and agree to the browserYou log on to two users .? Use session to save user objects.The other one will overwrite the previous one.
For exampleJava code
Public class order
{
Private string user;
Private string password;
Public String getuser ()
Microsoft has ended its support for older IE8/9/10 browsers, leaving only the latest version of IE11. Maybe you don't like IE, you may not use it at all, or even want to uninstall it, but even so, you still need to upgrade to IE11. Microsoft Development Engineer Pat Altimore a special article explaining why. He said that although IE is a browser, but many modules are shared with the system, including the JAVASCRIPT/THML rendering Engine (MSHTML.dll),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.