Skip to content
Snippets Groups Projects
Commit 41312c10 authored by RANWEZ Pierre's avatar RANWEZ Pierre :anchor:
Browse files

:sparkles: feat: CSSLSD in dev tools

parent 02ba5801
No related branches found
No related tags found
1 merge request!1✨ feat: CSSLSD V2
<!DOCTYPE html>
<html lang="en">
<script src="devtools.js"></script>
</html>
\ No newline at end of file
(function () {
var backgroundPageConnection = chrome.runtime.connect({
name: "devtools-page"
});
backgroundPageConnection.onMessage.addListener(function (message) {
// Handle responses from the background page, if any
});
var panels = chrome.devtools.panels;
// panel
var panel = panels.create(
"CSSLSD",
"ressources/icon256.png",
"popup.html", function () {
// Relay the tab ID to the background page
}
);
})();
\ No newline at end of file
......@@ -12,6 +12,7 @@
"background": {
"service_worker": "background.js"
},
"devtools_page": "devtools.html",
"permissions": [
"storage",
"activeTab",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment