Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts

Wednesday, July 1, 2015

TIL: clicked element reference in JavaScript console

I had a break from WebDev for around 2 years. I'm rediscovering things now. Today I've learnt: $0
  • Right click on the element of interest in your browser and select 'inspect element'. You should see the browser debugger with the element you clicked on highlighted.
  • The debugger allows you to access the currently selected element in the console as $0 variable.

Monday, June 18, 2012

Turn off "Pissing off flash content".

Have you ever experienced that annoying sound when you enter a web page? Probably not just once. But, there's a solution waiting for you to apply!

If you use Google Chrome, go to chrome://chrome/settings/content and in a section "Plug-ins" check option "Click to play". The flash content will be run only if you click on it. Additionally click "Manage exceptions..." and add domains for which you want to allow/deny flash (e.g. www.youtube.com).

Now you can browse in peace ;-)