Posts

Showing posts with the label Web Inspector

Accessing IOS Safari Web Inspector From Windows Machine

Image
Answer : It appears to require Safari 6, which has not been released for Windows. Regarding the unavailability of Safari 6 on Windows, Apple has stated "Safari 6 is available for Mountain Lion and Lion. Safari 5 continues to be available for Windows." I regularly use weinre . It basically runs a webserver that in turn acts as an inspector-enhanced proxy to browse webpages and websites. The inspector can be started by adding a script to your page or running a bookmarklet. weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone. To install it, you will need NodeJS and NPM (included with NodeJS). You will also need a WebKit-based browser on the desktop/receiver end (Safari, Google Chrome, or Chromium). It should work on Windows, OSX, and Linux. Official page: https://people.apache.org/~p...

Chrome Web Inspector: Find And Replace

Answer : Nothing built in natively. There is a Search and Replace plugin that might help if you want to change text in the input fields . Alternatively if you want to search and replace in the HTML you could Right Click → Edit as HTML the <body> in the DevTools Elements Panel select all the text with Ctrl + a , paste into your favourite editor, make the change there and paste it back. ***Taken from this page at labnol.org**** While you are on the web page, press Ctrl+Shift+J on Windows or Cmd+Opt+J on Mac to open the Console window inside Chrome Developer tools. Now enter the following commands to replace all occurrences of the word ABC with XYZ. document.body.innerHTML = document.body.innerHTML.replace(/ABC/g, "XYZ") document.head.innerHTML = document.head.innerHTML.replace(/ABC/g, "XYZ")