Is there an easy solution to POST dynamically aggregated data into a new tab?
chrome.tabs.create does not have a ‘POST’ option. Normally I would use
chrome.browserAction.onClicked.addListener(function (t) {
chrome.tabs.create(
{
"url" : "http://super.url",
"method" : "POST" // oops.. no option.
});
});
You can simply combine these two techniques:
javascript:prefix at your address bar or inhrefvalues of<a>tags.Of course, that’s just a dirty hack. If you need something more elaborate you can use a XHR Object or @Xan’s answer.