Make "Auto Redirect to Item's Canonical URL" Tiles Open in New Window

October 6, 2015 Uberflip Customer Success

If you're using the Auto Redirect to Item's Canonical URL Stream Option, you can use this snippet of custom JavaScript to open Tiles in a new browser window.

Add this to the Custom JavaScript section of your Hub's Custom Code window:

Hubs.onLoad = Hubs.onPageChange = Hubs.onItemsLoaded = function(){
    $("a.item-link[data-internal=false]").attr("target", "_blank");
}

That's it! 

Previous Article
Remove Sharing Buttons From a Stream and All Items Inside
Remove Sharing Buttons From a Stream and All Items Inside

Hint: {display: none}

Next Article
Remove the Timestamp
Remove the Timestamp

For tiles and / or items