initial cleanup
This commit is contained in:
1
id.txt
1
id.txt
@@ -1 +0,0 @@
|
|||||||
https://geoportal.pgi.gov.pl/arcgis/rest/services/sopoView_dynamic/MapServer/export?dpi=96&transparent=true&format=png8&bbox=620974.8645613709%2C190856.77261993414%2C622996.2852708789%2C192206.15031868956&bboxSR=%7B%22wkt%22%3A%22PROJCS%5B%5C%22PUWG_92%5C%22%2CGEOGCS%5B%5C%22GCS_ETRF_1989%5C%22%2CDATUM%5B%5C%22D_ETRF_1989%5C%22%2CSPHEROID%5B%5C%22WGS_1984%5C%22%2C6378137.0%2C298.257223563%5D%5D%2CPRIMEM%5B%5C%22Greenwich%5C%22%2C0.0%5D%2CUNIT%5B%5C%22Degree%5C%22%2C0.0174532925199433%5D%5D%2CPROJECTION%5B%5C%22Gauss_Kruger%5C%22%5D%2CPARAMETER%5B%5C%22False_Easting%5C%22%2C500000.0%5D%2CPARAMETER%5B%5C%22False_Northing%5C%22%2C-5300000.0%5D%2CPARAMETER%5B%5C%22Central_Meridian%5C%22%2C19.0%5D%2CPARAMETER%5B%5C%22Scale_Factor%5C%22%2C0.9993%5D%2CPARAMETER%5B%5C%22Latitude_Of_Origin%5C%22%2C0.0%5D%2CUNIT%5B%5C%22Meter%5C%22%2C1.0%5D%5D%22%7D&imageSR=%7B%22wkt%22%3A%22PROJCS%5B%5C%22PUWG_92%5C%22%2CGEOGCS%5B%5C%22GCS_ETRF_1989%5C%22%2CDATUM%5B%5C%22D_ETRF_1989%5C%22%2CSPHEROID%5B%5C%22WGS_1984%5C%22%2C6378137.0%2C298.257223563%5D%5D%2CPRIMEM%5B%5C%22Greenwich%5C%22%2C0.0%5D%2CUNIT%5B%5C%22Degree%5C%22%2C0.0174532925199433%5D%5D%2CPROJECTION%5B%5C%22Gauss_Kruger%5C%22%5D%2CPARAMETER%5B%5C%22False_Easting%5C%22%2C500000.0%5D%2CPARAMETER%5B%5C%22False_Northing%5C%22%2C-5300000.0%5D%2CPARAMETER%5B%5C%22Central_Meridian%5C%22%2C19.0%5D%2CPARAMETER%5B%5C%22Scale_Factor%5C%22%2C0.9993%5D%2CPARAMETER%5B%5C%22Latitude_Of_Origin%5C%22%2C0.0%5D%2CUNIT%5B%5C%22Meter%5C%22%2C1.0%5D%5D%22%7D&size=764%2C510&f=image
|
|
||||||
@@ -1,12 +1,20 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 3,
|
||||||
"name": "ZEDEMES",
|
"name": "ZEDEMES",
|
||||||
"version": "0.0.12",
|
"version": "0.0.13",
|
||||||
|
|
||||||
|
"permissions": ["storage", "tabs"],
|
||||||
|
"host_permissions": [
|
||||||
|
"*://*.tauron-dystrybucja.pl/*",
|
||||||
|
"*://sip.chelmiec.pl/*"
|
||||||
|
],
|
||||||
|
"background": {
|
||||||
|
"service_worker": "js/background.js"
|
||||||
|
},
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["*://*.tauron-dystrybucja.pl/*", "*://mapy.geoportal.gov.pl/*"],
|
"matches": ["*://*.tauron-dystrybucja.pl/*"],
|
||||||
"js": [
|
"js": ["js/intercept.js",
|
||||||
"/js/content.js",
|
"/js/content.js",
|
||||||
"/js/handlers/geoButton.js",
|
"/js/handlers/geoButton.js",
|
||||||
|
|
||||||
@@ -29,20 +37,34 @@
|
|||||||
"/js/handlers/messages.js",
|
"/js/handlers/messages.js",
|
||||||
"/js/handlers/translate.js",
|
"/js/handlers/translate.js",
|
||||||
"/js/core.js"
|
"/js/core.js"
|
||||||
|
],
|
||||||
|
"run_at": "document_start"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"web_accessible_resources": [
|
||||||
|
{
|
||||||
|
"resources": ["js/inject.js"],
|
||||||
|
"matches": ["*://*.tauron-dystrybucja.pl/*"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"resources": [
|
||||||
|
"icons/mpzp.png",
|
||||||
|
"icons/loading.gif",
|
||||||
|
"icons/dzialki1.png",
|
||||||
|
"icons/dzialki2.png",
|
||||||
|
"icons/pen.png",
|
||||||
|
"icons/slice.png",
|
||||||
|
"icons/save.png",
|
||||||
|
"icons/geoportal.png",
|
||||||
|
"icons/google.png",
|
||||||
|
"icons/gdos.png",
|
||||||
|
"icons/isok.png",
|
||||||
|
"icons/sopo.png",
|
||||||
|
"icons/lpp.png",
|
||||||
|
"icons/position.png",
|
||||||
|
"icons/position_alt.png"
|
||||||
|
],
|
||||||
|
"matches": ["<all_urls>"]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"permissions": [
|
|
||||||
"webRequest",
|
|
||||||
"webRequestBlocking",
|
|
||||||
"tabs",
|
|
||||||
"contextMenus",
|
|
||||||
"<all_urls>"
|
|
||||||
],
|
|
||||||
"background": {
|
|
||||||
"scripts": ["/js/background.js"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"devtools_page": "dev.html",
|
|
||||||
"web_accessible_resources": ["page.html", "icons/mpzp.png","icons/loading.gif", "icons/dzialki1.png","icons/dzialki2.png","icons/pen.png","icons/slice.png","icons/save.png","icons/geoportal.png","icons/google.png","icons/gdos.png","icons/isok.png","icons/sopo.png","icons/lpp.png","icons/position.png","icons/position_alt.png"]
|
|
||||||
}
|
|
||||||
|
|||||||
42
page.html
42
page.html
@@ -1,42 +0,0 @@
|
|||||||
<style>
|
|
||||||
#dropdown {
|
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dropdown-content {
|
|
||||||
display: none;
|
|
||||||
flex-direction: column;
|
|
||||||
position: absolute;
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
min-width: 80px;
|
|
||||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
||||||
padding: 12px 16px;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .dropdown:hover .dropdown-content {
|
|
||||||
display: block;
|
|
||||||
} */
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div id="dropdown">
|
|
||||||
<span id="dropdown-button"></span>
|
|
||||||
<div id="dropdown-content">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <script>
|
|
||||||
let dropdown = document.getElementById("dropdown");
|
|
||||||
let content = document.getElementById("dropdown-content");
|
|
||||||
console.log('ooo')
|
|
||||||
|
|
||||||
dropdown.onclick = abc;
|
|
||||||
|
|
||||||
function abc(){
|
|
||||||
console.log('ooo')
|
|
||||||
content.style.display = "block"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</script> -->
|
|
||||||
Reference in New Issue
Block a user