This extension allows you to toggle between AEMs 'View as Published' and authoring view.
AEM View as Published Shortcut Extension
This extension is meant to enable AEM authors to quickly access the 'View as Published' site preview.
Once the extension is installed, we recommend that you visit the URL chrome://extensions/shortcuts and assign a keyboard shortcut to the extension for increased productivity. See the second screenshot for an example.
Read more
Once the extension is installed, we recommend that you visit the URL chrome://extensions/shortcuts and assign a keyboard shortcut to the extension for increased productivity. See the second screenshot for an example.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "AEM View as Published Shortcut", "short_name": "View as Published", "description": "This extension allows you to toggle between AEMs 'View as Published' and authoring view.", "version": "0.0.7", "browser_action": { "default_title": "AEM View as Published", "default_icon": "images/icon38.png", "default_popup": "html/popup.html" }, "permissions": ["activeTab", "tabs"], "background": { "persistent": false, "scripts": ["background.js"] }, "content_scripts": [ { "matches": [ "http://*.adobemsbasic.com/*", "https://*.adobemsbasic.com/*" ], "js": ["./js/content.js"], "run_at": "document_end" } ], "icons": { "16": "images/dev16.png", "48": "images/dev48.png", "128": "images/dev128.png" }, "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"}
Read more