Read source of a tab on button click

Job ID: 30789803

Budget: ₹100 – ₹400 INR

I need sample working code that fetch the page source using google extension.
Related categories: PHP Google Chrome Extensions & Additions