I’m making a google chrome extension, and I need to get the current page URL and title. How can I achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For more please read
chrome.tabs. About thetabobject, read here.Note:
chrome.tabs.getSelectedhas been deprecated since Chrome 16. As the documentation has suggested,chrome.tabs.query()should be used along with the argument{'active': true}to select the active tab.