Travel the World
Power your travel planning experience by calculating the total price of the trip, including flights and hotels within Google Travel.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "Travel the World",
"version": "1.8",
"description": "Power your travel planning experience by calculating the total price of the trip, including flights and hotels within Google Travel.",
"permissions": [
"storage",
"tabs",
"activeTab",
"scripting",
"https://maps.googleapis.com/*"
],
"host_permissions": [
"https://www.google.com/travel/*",
"https://www.google.com/maps/*",
"<all_urls>",
"https://maps.googleapis.com/*"
],
"background": {
"service_worker": "background.js"
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; img-src * data:;"
},
"content_scripts": [
{
"matches": [
"https://www.google.com/travel/*",
"https://www.google.com/maps/*"
],
"js": [
"leaflet/leaflet-src.js",
"contentScript.js"
],
"css": [
"leaflet/leaflet.css",
"styles.css"
]
}
],
"web_accessible_resources": [
{
"resources": [
"leaflet/images/layers.png",
"leaflet/images/layers-2x.png",
"leaflet/images/marker-icon.png",
"leaflet/images/marker-icon-2x.png",
"OpenLayers.js",
"leaflet/leaflet-src.js",
"leaflet/leaflet.js",
"newtab.html",
"https://*.google.*",
"https://maps.googleapis.com/*"
],
"matches": [
"https://*.google.com/*"
]
},
{
"resources": [
"leaflet/images/layers.png",
"leaflet/images/layers-2x.png",
"leaflet/images/marker-icon.png",
"leaflet/images/marker-icon-2x.png",
"OpenLayers.js",
"leaflet/leaflet-src.js",
"leaflet/leaflet.js",
"newtab.html",
"<all_urls>"
],
"matches": [
"<all_urls>"
]
}
],
"action": {
"default_icon": {
"16": "assets/totalprice16.png",
"24": "assets/totalprice24.png",
"32": "assets/totalprice32.png"
},
"default_title": "all url extension",
"default_popup": "popup.html"
}
}