We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b55612a commit 517cf10Copy full SHA for 517cf10
2 files changed
functional-samples/tutorial.quick-api-reference/manifest.json
@@ -16,7 +16,6 @@
16
"keyword": "api"
17
},
18
"permissions": ["alarms", "storage"],
19
- "host_permissions": ["https://extension-tips.glitch.me/*"],
20
"content_scripts": [
21
{
22
"matches": ["https://developer.chrome.com/docs/extensions/reference/*"],
functional-samples/tutorial.quick-api-reference/sw-tips.js
@@ -2,7 +2,7 @@ console.log('sw-tips.js');
2
3
// Fetch tip & save in storage
4
const updateTip = async () => {
5
- const response = await fetch('https://extension-tips.glitch.me/tips.json');
+ const response = await fetch('https://chrome.dev/f/extension_tips/');
6
const tips = await response.json();
7
const randomIndex = Math.floor(Math.random() * tips.length);
8
return chrome.storage.local.set({ tip: tips[randomIndex] });
0 commit comments