Inconsistent behaviour for fully onchain artwork and metadata on token pages

Hello,

I’ve found that tokens with fully onchain artwork and metadata have links to view them that behave inconsistently.

On non-listing pages, clicking on Image, See full res image and View metadata behave as expected (opening the corresponding data in a new tab), but when clicking on Full Resolution and Metadata on the equivalent listing page, “about:blank” appears in the address bar. (Refreshing the “about:blank” page appears to render the data.) Another example by Maning here.

Howdy! Fixing this up.

Context: Our listing pages are actually being rebuilt as we speak because they are one of our oldest products that were built on a different stack. They can’t reuse most of the visual components that we’ve perfected on the other pages due to the legacy nature. But that should be ancient history in the next week or two, i’m super hyped <3

1 Like

FWIW the reason this is an issue is a Chrome-level thing that we do a workaround for.

Users cannot open a Data URI in a new tab in Chrome for security reasons as of a year or two ago. The non-listing page is correctly converting it to a Blob URL before trying to open it. In the listing page, since it’s old and a bit more basic, is just blindly trying to open the Data URI. That approach fails in all Chromium based browsers.

The more ya know!

Patching it up to use Blob URI right now!

1 Like

Fix is going out now! Should be live in about 20-30 minutes.

1 Like

Thanks Johnny, looking forward to the new pages when they’re ready!

Just confirming: the recent fix addresses the Full Resolution link, but not the Metadata link based on what I’m seeing.

Goooood call forgot to update that. Fix going out shortly ser appreciate the attention to detail here :folded_hands:

1 Like