add shortened url code to frame ctrl