Skip to content

Instantly share code, notes, and snippets.

@genedwards
Created December 15, 2016 16:23
Show Gist options
  • Save genedwards/84340a7baf4ef7dfc5098beb44f9e728 to your computer and use it in GitHub Desktop.
Save genedwards/84340a7baf4ef7dfc5098beb44f9e728 to your computer and use it in GitHub Desktop.
from ticket to app page
javascript:(
function(){
location.replace(location.href.replace(/api\/api\/.*ticket.*realm.*/,'qbase/apps'));
}()
)
@genedwards
Copy link
Author

Use this as a bookmarklet. Once you get your ticket, something like this:realmID-blah-blah.localhost:9000/api/api/v1/ticket?uid=10000&realmId=140188, click on the bookmarklet and it will redirect you to your app page.

To create a bookmarklet:

  • Right click your bookmarks bar
  • click "Add Page..."
  • give it a name and paste the above code in the URL
    image
  • hit save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment