Skip to content

Tag: google-chrome-extension

Chrome extension to read HTTP response

I have this Chrome extension that modifies the header of requests before sending them. I now would like to be able, within the same extension, to check the header of the response. I searched throughout the Chrome Extension APIs but I couldn’t find anything of interest. This is the code I use for modifyi…

Chrome extension: Get last used tab

I’m trying to create a simple plugin for Google Chrome. One of the functions would be a return to the last used tab, but I don’t know how to do it. So, is there any way to get the last used tab? Answer You could try adding a hook into the onSelected event of the tabs and just saving that