You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize for the oversight (in #1). You're right, Chrome does not allow content scripts to run on internal pages like 'chrome://history/' directly. However, you can create a custom history page that replicates the functionality you need and modify it according to your requirements.
Here's a new approach:
Create a manifest.json file for your extension:
{
"manifest_version": 2,
"name": "Custom History Enhancements",
"version": "1.0",
"description": "Improves the behavior of Chrome's History tab",
"permissions": ["tabs", "history"],
"browser_action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"icons": {
"48": "icon.png"
}
}
Add an appropriate icon (icon.png) to your extension's folder.
Create a popup.html file for the browser action popup:
I apologize for the oversight (in #1). You're right, Chrome does not allow content scripts to run on internal pages like 'chrome://history/' directly. However, you can create a custom history page that replicates the functionality you need and modify it according to your requirements.
Here's a new approach:
Create a manifest.json file for your extension:
Add an appropriate icon (icon.png) to your extension's folder.
Create a popup.html file for the browser action popup:
popup.js
style.css
The text was updated successfully, but these errors were encountered: