"manifest_version": 3,
"background": {
"service_worker": "background.js"
}
I need to use Jquery in background.js. I cannot add jquery.min.js in the manifest because with the new upgrade v3 I cannot declare more than one JS in service_worker. How can I solve?
background.js
$.ajax({
type: "POST",
url: "https://wwww",
data: {text: "xxx"}
});