Some sites block referrals from within #iframes
Nonono
// CASE 6: Symbol NOT IN JSON - with clickable TradingView button
else if (data && data.status === "not_found") {
const tradingViewUrl = 'https://www.tradingview.com/chart/?symbol=' + encodeURIComponent(symbol);
badge.innerHTML = '📋 ✗ NOT IN JSON TrdVw';
}
Ok
// CASE 6: Symbol NOT IN JSON - esxape to top-level navigation
else if (data && data.status === "not_found") {
const tradingViewUrl = 'https://www.tradingview.com/chart/?symbol=' + encodeURIComponent(symbol);
badge.innerHTML = '📋 ✗ NOT IN JSON TrdVw';
}
So you need to break out of the #iframe / #sandbox first...
:blobcatgoogly:
Amazing
#WebDev ing is soooofun*
#repost •acws #acws
*Thanks scammers for ruining my fun
This is how breaking out of sandboxes looks (ofc you take the sandbox with you
