Show the page info and the canonical URL, Copy as Markdown, and more
Page Info Extension
This is a Chrome extension with many features to help check the information about the pages you are viewing.
No SEO hypes, no access to any external server. This extension serves as a simple and unobtrusive utility for daily browsing.
Here is a list of implemented features:
- Canonical URL Checker and quick access with a shortcut key
When a web page is loaded, the extension checks if the URL is canonical and changes its icon face depending on the canonical state.
A shortcut key is available for visiting the canonical URL of the current page if set. (Default: Command+Shift+Home on macOS, Ctrl+Shift+Home on Windows and Linux)
- Page Information Viewer
Clicking the extension icon shows a popup window in which you can check out the following pieces of information:
- the canonical URL you can follow or copy ()
- the site name (og:site_name) and icon (og:icon or )
- the image (og:image)
- the page title (og:title or)
- it also works as a button to copy the link to the page as Markdown
- Twitter flavored equivalents for the above items (twitter:*)
- the modification and publication time stamps (article:published_time and article:modified_time)
- Customizable Save URL Button
A customizable Save URL button can be added to the popup window, with which you can bookmark the current page online with any popular service on the fly, optionally in the background.
Background saving works with Raindrop, Pocket, Pinboard and Inoreader.
- Copy As Markdown
This extension provides context menu items to copy any link or image as Markdown. Copying a Markdown link also stores a rich text version in HTML in the clipboard so you can paste a link right away to any WYSIWYG editor, Slack, Google Docs, etc.
A shortcut key can be configured to copy a link to the current page as Markdown. (Default: Command+Shift+L on macOS, Ctrl+Shift+L on Windows and Linux)
ChangeLog
Version 1.0.4 - 2024-09-30
- Update background saving for Raindrop.
- Update library versions.
Version 1.0.3 - 2024-07-22
- Update library versions.
Version 1.0.2 - 2024-01-13
- Fall back to the tab title when the document is not accessible nor have a title such as when it is a PDF document.
Version 1.0.1 - 2023-10-30
- Fix the link title always being \"Link\" when copied other than from the context menu.
Version 1.0.0 - 2023-10-26
- Use alt/title attribute values in Markdown/HTML snippets generated via the context menu.
- Relax URL constraints and enable content scripts everywhere so that the context menu items work in iframe without src.
Version 0.9.9
- Stop showing placeholders when the title is empty.
Version 0.9.8
- Always show a popup as long as the active tab has a URL.
- Detect dynamic changes to the canonical URL of a tab and update the icon face.
Version 0.9.7
- Bind \"Visit the canonical URL in new tab\" to Shift+C.
- Make internal improvements and avoid harmless errors.
Version 0.9.6
- Middle click on the Canonical URL button opens it in a background tab.
- Show the extension name and version in the help modal.
Version 0.9.5
- Revise the check mark icon.
- Slightly improve the help modal.
Version 0.9.4
- Add support for Inoreader to the Save URL feature.
- Show an in-progress badge while transitioning pages in the Save URL process.
- Bring the background Save URL window to the front if a login form is detected in it.
Version 0.9.3
- Implement a new shortcut key assignable command: \"Visit the canonical URL of the current tab if available\".
- Rename the feature \"Share URL\" to \"Save URL online\".
- Add a shortcut key \"C\" for copying the canonical URL in the popup.
- Copy a Markdown link to the current tab page when the context menu item \"Copy a Markdown link to the current page\" is invoked from within the popup.
Version 0.9.2
- Close the popup when the Share URL button is clicked. The result is shown by a badge.
Version 0.9.1
- Make typing Command/Control+Shift+C in the popup copy a Markdown link.
- Make typing Command/Control+C in the popup copy the canonical URL.
- Refactor shortcut key handling and fix key event propagation. This prevents Command/Control+D from getting unwantedly propagated to the browser and adding a local bookmark.
Version 0.9.0
- Add a direct keyboard shortcut to copy a Markdown link to the current page.
- Copy the text/html version of a link in addition when copying a Markdown link.
- Implement a help modal.
- Fix Markdown escaping.
- Fix unreliable background saving to Raindrop.
- Ignore invalid timestamp strings.
Version 0.8.0
- Set the default shortcut key for this extension to Command/Control+Shift+I.
- Make typing Command/Control+C in the popup copy a Markdown link.
- Make typing Command/Control+D in the popup invoke Share URL.
- Make typing H/L and Left/Right in the popup switch between panels.
- Navigate to the canonical URL without sending a referrer.
- Fix a regression where the canonical state is reset via the Share URL button.
Version 0.7.0
- Allow for copying and sharing a non-canonical link.
- Show a Non-canonical tab if the canonical URL is different from the tab URL.
- Add a hover popup to the title copy button and the Share URL button.
- Update the icon face even when the tab URL changes via the history API.
Version 0.6.2
- Keep the popup open and update the content when the tab is updated while it is open.
- Do not reset the canonical state when the Share URL button is clicked.
Version 0.6.1
- Show the publication and modification timestamps if present.
- Check the canonicality by comparing normalized URLs.
- Automatically close the popup when the current tab loads a new page.
- Fix placeholder coloring in the dark mode.
Version 0.6.0
- Implement context menu items to copy any link or image as Markdown.
- Enhance the extension popup
- The site title is now a button to copy a Markdown link.
- The site image accepts the context menu item to copy it as Markdown.
- Adjust colors in the dark mode.
Version 0.5.0
- Implement background URL sharing.
- Add an option to open the share URL popup in background and auto-close it.
Version 0.4.0
- Add basic support for twitter:* meta tags and show a Twitter tab panel if they are found.
- Add support for the dark mode and adjust styles.
Version 0.3.1
- Fix error handling and show the URL and title when run in Chrome extension gallery.
- Fix a performance bug in the popup window.
- Improve Options UI.
- Set the tooltip of the share button.
Version 0.3.0
- Implement a Share URL feature and add an options page for that.
Version 0.2.1
- Extend support for icons; `shortcut icon` and `apple-touch-icon`.
- Avoid HTML over-unescaping.
Version 0.2.0
- Show the site name and icon if available.
Version 0.1.0
- Initial release.
Read more
No SEO hypes, no access to any external server. This extension serves as a simple and unobtrusive utility for daily browsing.
Here is a list of implemented features:
- Canonical URL Checker and quick access with a shortcut key
When a web page is loaded, the extension checks if the URL is canonical and changes its icon face depending on the canonical state.
A shortcut key is available for visiting the canonical URL of the current page if set. (Default: Command+Shift+Home on macOS, Ctrl+Shift+Home on Windows and Linux)
- Page Information Viewer
Clicking the extension icon shows a popup window in which you can check out the following pieces of information:
- the canonical URL you can follow or copy ()
- the site name (og:site_name) and icon (og:icon or )
- the image (og:image)
- the page title (og:title or
- it also works as a button to copy the link to the page as Markdown
- Twitter flavored equivalents for the above items (twitter:*)
- the modification and publication time stamps (article:published_time and article:modified_time)
- Customizable Save URL Button
A customizable Save URL button can be added to the popup window, with which you can bookmark the current page online with any popular service on the fly, optionally in the background.
Background saving works with Raindrop, Pocket, Pinboard and Inoreader.
- Copy As Markdown
This extension provides context menu items to copy any link or image as Markdown. Copying a Markdown link also stores a rich text version in HTML in the clipboard so you can paste a link right away to any WYSIWYG editor, Slack, Google Docs, etc.
A shortcut key can be configured to copy a link to the current page as Markdown. (Default: Command+Shift+L on macOS, Ctrl+Shift+L on Windows and Linux)
ChangeLog
Version 1.0.4 - 2024-09-30
- Update background saving for Raindrop.
- Update library versions.
Version 1.0.3 - 2024-07-22
- Update library versions.
Version 1.0.2 - 2024-01-13
- Fall back to the tab title when the document is not accessible nor have a title such as when it is a PDF document.
Version 1.0.1 - 2023-10-30
- Fix the link title always being \"Link\" when copied other than from the context menu.
Version 1.0.0 - 2023-10-26
- Use alt/title attribute values in Markdown/HTML snippets generated via the context menu.
- Relax URL constraints and enable content scripts everywhere so that the context menu items work in iframe without src.
Version 0.9.9
- Stop showing placeholders when the title is empty.
Version 0.9.8
- Always show a popup as long as the active tab has a URL.
- Detect dynamic changes to the canonical URL of a tab and update the icon face.
Version 0.9.7
- Bind \"Visit the canonical URL in new tab\" to Shift+C.
- Make internal improvements and avoid harmless errors.
Version 0.9.6
- Middle click on the Canonical URL button opens it in a background tab.
- Show the extension name and version in the help modal.
Version 0.9.5
- Revise the check mark icon.
- Slightly improve the help modal.
Version 0.9.4
- Add support for Inoreader to the Save URL feature.
- Show an in-progress badge while transitioning pages in the Save URL process.
- Bring the background Save URL window to the front if a login form is detected in it.
Version 0.9.3
- Implement a new shortcut key assignable command: \"Visit the canonical URL of the current tab if available\".
- Rename the feature \"Share URL\" to \"Save URL online\".
- Add a shortcut key \"C\" for copying the canonical URL in the popup.
- Copy a Markdown link to the current tab page when the context menu item \"Copy a Markdown link to the current page\" is invoked from within the popup.
Version 0.9.2
- Close the popup when the Share URL button is clicked. The result is shown by a badge.
Version 0.9.1
- Make typing Command/Control+Shift+C in the popup copy a Markdown link.
- Make typing Command/Control+C in the popup copy the canonical URL.
- Refactor shortcut key handling and fix key event propagation. This prevents Command/Control+D from getting unwantedly propagated to the browser and adding a local bookmark.
Version 0.9.0
- Add a direct keyboard shortcut to copy a Markdown link to the current page.
- Copy the text/html version of a link in addition when copying a Markdown link.
- Implement a help modal.
- Fix Markdown escaping.
- Fix unreliable background saving to Raindrop.
- Ignore invalid timestamp strings.
Version 0.8.0
- Set the default shortcut key for this extension to Command/Control+Shift+I.
- Make typing Command/Control+C in the popup copy a Markdown link.
- Make typing Command/Control+D in the popup invoke Share URL.
- Make typing H/L and Left/Right in the popup switch between panels.
- Navigate to the canonical URL without sending a referrer.
- Fix a regression where the canonical state is reset via the Share URL button.
Version 0.7.0
- Allow for copying and sharing a non-canonical link.
- Show a Non-canonical tab if the canonical URL is different from the tab URL.
- Add a hover popup to the title copy button and the Share URL button.
- Update the icon face even when the tab URL changes via the history API.
Version 0.6.2
- Keep the popup open and update the content when the tab is updated while it is open.
- Do not reset the canonical state when the Share URL button is clicked.
Version 0.6.1
- Show the publication and modification timestamps if present.
- Check the canonicality by comparing normalized URLs.
- Automatically close the popup when the current tab loads a new page.
- Fix placeholder coloring in the dark mode.
Version 0.6.0
- Implement context menu items to copy any link or image as Markdown.
- Enhance the extension popup
- The site title is now a button to copy a Markdown link.
- The site image accepts the context menu item to copy it as Markdown.
- Adjust colors in the dark mode.
Version 0.5.0
- Implement background URL sharing.
- Add an option to open the share URL popup in background and auto-close it.
Version 0.4.0
- Add basic support for twitter:* meta tags and show a Twitter tab panel if they are found.
- Add support for the dark mode and adjust styles.
Version 0.3.1
- Fix error handling and show the URL and title when run in Chrome extension gallery.
- Fix a performance bug in the popup window.
- Improve Options UI.
- Set the tooltip of the share button.
Version 0.3.0
- Implement a Share URL feature and add an options page for that.
Version 0.2.1
- Extend support for icons; `shortcut icon` and `apple-touch-icon`.
- Avoid HTML over-unescaping.
Version 0.2.0
- Show the site name and icon if available.
Version 0.1.0
- Initial release.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Page Info", "description": "Show the page info and the canonical URL, Copy as Markdown, and more", "version": "1.0.4", "manifest_version": 3, "homepage_url": "https://github.com/knu/page-info", "action": { "default_popup": "index.html", "default_title": "Page Info" }, "icons": { "16": "src/images/icon16.png", "32": "src/images/icon32.png", "48": "src/images/icon48.png", "128": "src/images/icon128.png" }, "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "content_scripts": [ { "js": [ "assets/content.ts-loader-D9hm9grC.js" ], "matches": [ "" ], "all_frames": true, "match_origin_as_fallback": true, "run_at": "document_start" } ], "options_ui": { "page": "options.html", "open_in_tab": false }, "commands": { "_execute_action": { "suggested_key": { "default": "Ctrl+Shift+I", "mac": "Command+Shift+I" } }, "copyMarkdownLink": { "description": "Copy a Markdown link to the current page", "suggested_key": { "default": "Ctrl+Shift+L", "mac": "Command+Shift+L" } }, "visitCanonicalURL": { "description": "Visit the canonical URL of the current page if available", "suggested_key": { "default": "Ctrl+Shift+Home", "mac": "Command+Shift+Home" } } }, "permissions": [ "activeTab", "scripting", "webNavigation", "contextMenus", "alarms", "clipboardWrite", "storage" ], "host_permissions": [ "" ], "web_accessible_resources": [ { "matches": [ "" ], "resources": [ "assets/clipboard-B8pNCp-Q.js", "assets/content.ts-BqF8QB7C.js" ], "use_dynamic_url": true } ]}
Read more