Bookmarklet to switch between the external Ideas Portal view and the internal Aha workspace view.
- Any modern browser (i.e. Firefox, Chrome, Edge, Safari)
- Sonatype employee with access to the Sonatype Aha instance
- Drag one of the following links onto your bookmarks bar
- Open new tab: Switch View
- Open in same tab: Switch View
- If the above link does not show, go here first
- Create a new bookmark using one of the following code blocks:
Open new tab:
javascript: (() => {
if (window.location.hostname == 'ideas.sonatype.com') {
window.open(window.location.href.replace('ideas.sonatype.com', 'sonatype.aha.io/ideas'))
} else if (window.location.hostname == 'sonatype.aha.io') {
window.open(window.location.href.replace('sonatype.aha.io/ideas', 'ideas.sonatype.com'))
} else {
alert('This bookmarklet only works when you are viewing an idea in ideas.sonatype.com or sonatype.aha.io.')
}
})();
Open in same tab:
javascript: (() => {
if (window.location.hostname == 'ideas.sonatype.com') {
window.open(window.location.href.replace('ideas.sonatype.com', 'sonatype.aha.io/ideas'), '_self')
} else if (window.location.hostname == 'sonatype.aha.io') {
window.open(window.location.href.replace('sonatype.aha.io/ideas', 'ideas.sonatype.com'), '_self')
} else {
alert('This bookmarklet only works when you are viewing an idea in ideas.sonatype.com or sonatype.aha.io.')
}
})();
- Go to a URL with a Sonatype Idea
- Click on the bookmarklet
Distributed under the Apache-2.0 License. See the 'LICENSE' for more information.