Tech Support Websites

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 6 September 2012

Paul Irish chats up with the Bangalore JS community

Posted on 10:18 by Unknown

Chrome Dev Relations guy & Web Standards champion, Paul Irish chatted up with the Bangalore JS community on Twitter a few days ago. He shared tips & revealed interesting facts about Chrome Dev Tools. Excerpts (paraphrased at some places to provide context):

  • My favorite hidden feature in Chrome Dev Tools is shift-esc which reveals the console in slow-mo.
  • You can now emulate User Agents, and screen size of a lot of devices...& emulate touch events. Soon geolocation spoofing.
  • ..a more recent addition is "Force Element State" where you can force an elem into :hover mode. 
  • new: in the console $_ now refers to the most recent returned value in the console.
  • $0 refers to the element inspected. so, click on a tag in the elements panel, and $0 in the console refers to it.
  • ..if anyone has any feature requests or trouble areas the DevTools could help with, Holler at me. I'm your man.
  • the other complement to $0 is inspect(elem) inside console will switch over to Elements panel to inspect that one
  • Offline (mobile apps) is still a tough nut to crack. http://www.html5rocks.com/en/tutorials/#technology:offline is a great guide to what you can do....some apps like gmail and google docs have gone offline beautifully...Workflowy's offline mode is strong too and a feature called prefer-online was added to appcache in the HTML spec  http://html5.org/tools/web-apps-tracker?from=7135&to=7136 which may help some but there is still work to be done. 
  • you can explore new upcoming devtools stuff: go to about:flags, flip the devtools one, then see Experiments in settings
  • beautify JS: in Sources panel hit the {} icon at the bottom. Boom. beautified. We're looking at making it happen for CSS
  • Q: Which is the most useful feature of chrome-dev-tools, that supposedly most people don't know? A: Definitely best feature: "Disable Cache" that's in Settings. And that you need devtools to be visible for it to work. :)
  • Q: ..seems Console api which comes with chrome/firefox aren't standardized? any efforts happening to standardize? A: the console API is standardized unofficially, never in the W3C, but all tool vendors agree.. in fact! now $ will be a shortcut to document.querySelector, which is more of what people expect, thanks to jQuery.
  • Q: is id based selector better than class based? (when there are many of them)  A: webkit doesnt actually have a fastpath for #id selectors, unlike jQuery.. class selectors are more maintainable IMHO
  • Q:  Can we get chrome dev tools to inspect my web app and tell me all the memory leaks places including line number and file name? A: the Heap Profiler in devtools helps a lot. There is a 3 snapshot technique Gmail pioneered that we'll share soon that helps...you won't get as accurate as "HERE ARE YOUR LEAKS" but the usability of the heap tool is getting stronger all the time
Read complete conversation

Related:
  • Chrome Developer Tools: Videos
  • Introduction to the Chrome Developer Tools
  • A Re-introduction to the Chrome Developer Tools
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Chrome, Javascript | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 8 keyboard shortcuts
    Win + X   - context menu to access common features like Control Panel, Task Manager, File Explorer, Programs & Features, Run, Search etc...
  • Dashboard-like info with Browser tabs, Windows 7 Taskbar tabs
    Browser tabs & Windows 7 Taskbar tabs are turning self-aware.  This is how my browser looked the other day: I had the summary of all tha...
  • The State Of HTML5 Video
    Key points from the  The State Of HTML5 Video  report by LongTailVideo (last updated on April 19, 2012): 75% of the desktop & mobile bro...
  • Archive tweets & favorites with Google Reader
    There are numerous ways to archive tweets but rather than use yet another tool, I prefer using Google Reader to preserve the tweets I mark ...
  • TWIL - Week #3
    This Week I Learned: New Azure VM Image Templates include SQL Server, BizTalk Server, and SharePoint Server (2013?) images . This can be han...
  • What is the difference between Browser Mode & Document Mode in IE
    If you're a web developer and your job actively involves building web pages that work the same in all browsers including the last three ...
  • My 30-day personal project - watch 100 hours of Pluralsight videos
    Inspired by Matt Cutts' 30-day challenges , I plan to watch 100 hours of Pluralsight online videos to get up-to-date with current ...
  • Azure in Pictures - overview of Windows Azure Features, Services and Common Uses
    Download the Windows Azure Poster in PDF format (1.1MB)
  • Indian comparison shopping sites
    Did you know, India has 120 million Internet users & the Indian e-commerce market is worth $7 billion ?  Travel accounts for over 80 per...
  • HOW TO dynamically generate a Word document with custom header & footer
    Way back in 2004, a project I was working on required a web page to be exported as a Word document (.DOC). Without relying on any components...

Categories

  • AJAX
  • Android
  • APIs
  • App
  • ASP
  • ASP.NET
  • ASP.NET-MVC
  • Azure
  • Azure SQL Database
  • AzureInPictures
  • Bing
  • Book Review
  • Bookmarklet
  • Browsers
  • C#
  • chart
  • Chrome
  • Cloud
  • CSS
  • CSS3
  • DidYouKnow
  • E-Commerce
  • Excel
  • FB
  • Fiddler
  • Firefox
  • Gadgets
  • GeoLocation
  • GMail
  • Google
  • Google Docs
  • Google Reader
  • Health
  • Hotmail
  • HOWTO
  • HTML
  • HTML/CSS
  • HTML5
  • Humor
  • Hyderabad
  • IE
  • IIS
  • India
  • Internet
  • IT
  • Javascript
  • jQuery
  • JSON
  • JSONP
  • Laptop
  • Learning Resources
  • Lists
  • Map
  • Metrics
  • Microsoft
  • miscellaneous
  • Mobile
  • NAPA
  • Office365
  • Opera
  • PDF
  • Performance
  • Personal
  • PHP
  • PM
  • PowerShell
  • Privacy
  • Programming
  • Rant
  • Safari
  • Science
  • Search Engines
  • SearchEngines
  • Security
  • SEO
  • Sharepoint
  • SharePoint2013
  • Silverlight
  • Software Engineering
  • Solutions
  • SQL Azure
  • SQL Server
  • TFS
  • Tip
  • Tips
  • Tools
  • Tools/Utilities
  • Trivia
  • TWIL
  • Twitter
  • UX
  • VM
  • VS.NET
  • VS2010
  • VS2012
  • WCF
  • WebApps
  • Websites
  • WF
  • Windows Phone
  • Windows7
  • Windows8
  • Word
  • WP7
  • WPF

Blog Archive

  • ►  2013 (112)
    • ►  October (16)
    • ►  September (14)
    • ►  August (8)
    • ►  July (8)
    • ►  June (13)
    • ►  May (12)
    • ►  April (12)
    • ►  March (8)
    • ►  February (15)
    • ►  January (6)
  • ▼  2012 (127)
    • ►  December (11)
    • ►  November (14)
    • ►  October (13)
    • ▼  September (14)
      • What does the "www" in a website URL mean?
      • HOW TO access JavaScript Console, DOM Explorer in ...
      • Developer resources for JavaScript based Windows 8...
      • JavaScript Snippet Tester
      • Cheap way to read your favorite cartoonist's comic...
      • Product companies endorse StackOverflow for tech s...
      • A round-up of the free Express editions of Visual ...
      • Find details of your Contacts with fewer steps usi...
      • HOW TO extract audio from anything that's playing ...
      • Windows 8 Reader keyboard shortcuts
      • Gamification & other free online courses from top ...
      • Paul Irish chats up with the Bangalore JS community
      • Insights on E-Commerce Checkout Design
      • Get Microsoft certified in HTML5 with exam 70-480
    • ►  August (16)
    • ►  July (16)
    • ►  June (6)
    • ►  May (5)
    • ►  April (11)
    • ►  March (12)
    • ►  February (7)
    • ►  January (2)
  • ►  2011 (98)
    • ►  December (5)
    • ►  November (2)
    • ►  October (5)
    • ►  September (7)
    • ►  August (7)
    • ►  July (15)
    • ►  June (10)
    • ►  May (7)
    • ►  April (8)
    • ►  March (10)
    • ►  February (11)
    • ►  January (11)
  • ►  2010 (163)
    • ►  December (14)
    • ►  November (19)
    • ►  October (19)
    • ►  September (15)
    • ►  August (18)
    • ►  July (17)
    • ►  June (20)
    • ►  May (17)
    • ►  April (19)
    • ►  March (5)
Powered by Blogger.

About Me

Unknown
View my complete profile