bugfixing
This commit is contained in:
parent
cd6515ba65
commit
801132e4b1
@ -2,16 +2,6 @@
|
|||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
// Set up Google Consent Mode before loading AdSense
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag() {
|
|
||||||
window.dataLayer.push(arguments);
|
|
||||||
}
|
|
||||||
gtag("consent", "default", {
|
|
||||||
ad_storage: "denied",
|
|
||||||
analytics_storage: "denied",
|
|
||||||
});
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!document.querySelector(
|
!document.querySelector(
|
||||||
'script[src*="googlesyndication.com/pagead/js/adsbygoogle.js"]',
|
'script[src*="googlesyndication.com/pagead/js/adsbygoogle.js"]',
|
||||||
@ -22,6 +12,7 @@
|
|||||||
"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7722951169931877";
|
"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7722951169931877";
|
||||||
script.async = true;
|
script.async = true;
|
||||||
script.crossOrigin = "anonymous";
|
script.crossOrigin = "anonymous";
|
||||||
|
script.setAttribute("data-enable-consent-mode", "false"); // ⬅️ Prevents consent banner
|
||||||
document.head.appendChild(script);
|
document.head.appendChild(script);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -561,6 +561,67 @@
|
|||||||
</g></svg
|
</g></svg
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<span class="text-muted dark:text-gray-400">No Ads</span>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-start">
|
||||||
|
<svg
|
||||||
|
class="w-5 h-5 mr-2 flex-shrink-0 mt-0.5"
|
||||||
|
viewBox="0 0 64 64"
|
||||||
|
version="1.1"
|
||||||
|
fill="currentColor"
|
||||||
|
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
|
||||||
|
><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g
|
||||||
|
id="SVGRepo_tracerCarrier"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
></g><g id="SVGRepo_iconCarrier">
|
||||||
|
<rect
|
||||||
|
id="Icons"
|
||||||
|
x="-448"
|
||||||
|
y="-64"
|
||||||
|
width="1280"
|
||||||
|
height="800"
|
||||||
|
style="fill:none;"
|
||||||
|
></rect>
|
||||||
|
<g id="Icons1" serif:id="Icons">
|
||||||
|
<g id="Strike"> </g> <g id="H1"> </g> <g id="H2"> </g>
|
||||||
|
<g id="H3"> </g> <g id="list-ul"> </g>
|
||||||
|
<g id="hamburger-1"> </g> <g id="hamburger-2"> </g>
|
||||||
|
<g id="list-ol"> </g> <g id="list-task"> </g>
|
||||||
|
<g id="trash"> </g> <g id="vertical-menu"> </g>
|
||||||
|
<g id="horizontal-menu"> </g> <g id="sidebar-2"> </g>
|
||||||
|
<g id="Pen"> </g> <g id="Pen1" serif:id="Pen"> </g>
|
||||||
|
<g id="clock"> </g> <g id="external-link"> </g>
|
||||||
|
<g id="hr"> </g> <g id="info"> </g> <g id="warning"> </g>
|
||||||
|
<g id="plus-circle"> </g> <g id="minus-circle"> </g>
|
||||||
|
<g id="vue"> </g> <g id="cog"> </g> <g id="logo"> </g>
|
||||||
|
<path
|
||||||
|
id="times"
|
||||||
|
d="M32.033,29.19l15.55,-15.55l2.863,2.863l-15.55,15.55l15.55,15.55l-2.863,2.863l-15.55,-15.55l-15.55,15.55l-2.863,-2.863l15.55,-15.55l-15.55,-15.55l2.863,-2.863l15.55,15.55Z"
|
||||||
|
></path>
|
||||||
|
<path
|
||||||
|
d="M32.033,29.19l15.55,-15.55l2.863,2.863l-15.55,15.55l15.55,15.55l-2.863,2.863l-15.55,-15.55l-15.55,15.55l-2.863,-2.863l15.55,-15.55l-15.55,-15.55l2.863,-2.863l15.55,15.55Z"
|
||||||
|
></path> <g id="radio-check"> </g> <g id="eye-slash"> </g>
|
||||||
|
<g id="eye"> </g> <g id="toggle-off"> </g>
|
||||||
|
<g id="shredder"> </g>
|
||||||
|
<g
|
||||||
|
id="spinner--loading--dots-"
|
||||||
|
serif:id="spinner [loading, dots]"
|
||||||
|
>
|
||||||
|
</g> <g id="react"> </g> <g id="check-selected"> </g>
|
||||||
|
<g id="turn-off"> </g> <g id="code-block"> </g>
|
||||||
|
<g id="user"> </g> <g id="coffee-bean"> </g>
|
||||||
|
<g id="coffee-beans">
|
||||||
|
<g id="coffee-bean1" serif:id="coffee-bean"> </g>
|
||||||
|
</g> <g id="coffee-bean-filled"> </g>
|
||||||
|
<g id="coffee-beans-filled">
|
||||||
|
<g id="coffee-bean2" serif:id="coffee-bean"> </g>
|
||||||
|
</g> <g id="clipboard"> </g> <g id="clipboard-paste"> </g>
|
||||||
|
<g id="clipboard-copy"> </g> <g id="Layer1"> </g>
|
||||||
|
</g>
|
||||||
|
</g></svg
|
||||||
|
>
|
||||||
|
|
||||||
<span class="text-muted dark:text-gray-400"
|
<span class="text-muted dark:text-gray-400"
|
||||||
>Realtime Options Activity</span
|
>Realtime Options Activity</span
|
||||||
>
|
>
|
||||||
@ -815,6 +876,23 @@
|
|||||||
|
|
||||||
<span class="">Financial History Access</span>
|
<span class="">Financial History Access</span>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="flex items-start">
|
||||||
|
<svg
|
||||||
|
class="w-5 h-5 mr-2 flex-shrink-0 mt-0.5"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
><path
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
stroke-width="2"
|
||||||
|
d="M5 13l4 4L19 7"
|
||||||
|
></path></svg
|
||||||
|
>
|
||||||
|
|
||||||
|
<span class="">No Ads</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="flex items-start">
|
<li class="flex items-start">
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user