Skip to content

Instantly share code, notes, and snippets.

@OliveiraxGodzin
Created November 4, 2026 23:25
Show Gist options
  • Select an option

  • Save OliveiraxGodzin/dd961a1b0ed63e02c5eae48f1aa60546 to your computer and use it in GitHub Desktop.

Select an option

Save OliveiraxGodzin/dd961a1b0ed63e02c5eae48f1aa60546 to your computer and use it in GitHub Desktop.
Script oliveiraking
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="referrer" content="no-referrer" />
<meta name="theme-color" content="#000000">
<meta content="Rebrandly Official Dashboard." name="description">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="/favicon.ico">
<!-- script to get querystring parameters, used to check the dnt param (do not track) -->
<script>
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
function parse(strObj) {
try {
return JSON.parse(strObj)
} catch (e) {
return {}
}
}
// expose dnt in the global scope
if (getParameterByName('dnt') === 'true' || parse(localStorage.token) && parse(localStorage.token).dnt) {
window.dnt = true;
}
// enable dark mode if set in localStorage
const colorScheme = localStorage.getItem('colorScheme');
const sysDarkModeOn = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)')
.matches; // detect system dark mode
const userPreferenceIsDark = colorScheme && colorScheme === 'dark';
const useDetectedValue = !colorScheme && sysDarkModeOn;
if (
userPreferenceIsDark || useDetectedValue
) {
document.documentElement.classList.add('is-dark-mode');
}
window.rebrandly = {
...window.rebrandly,
appearance: {
colorScheme: {
detected: sysDarkModeOn ? 'dark' : 'default'
}
}
};
</script>
<!-- Google Tag Manager -->
<script>
if ('production'.toString() === 'production') {
// GTM identify user
const accountId = localStorage.getItem('accountId')
if (window.dataLayer && accountId) {
window.dataLayer.push({
'event': 'userId',
'userId': accountId
})
}
document.write("<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n" +
"new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n" +
"j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;j.src=\n" +
"'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n" +
"})(window,document,'script','dataLayer','GTM-NZVWGS3');<" + "/script>")
}
</script>
<!-- End Google Tag Manager -->
<!-- Google Places (Maps) -->
<script>
(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({
key: "AIzaSyCKSm9IUxzMJirXa_ZH0URYmEj4YfKTbVM",
v: "weekly",
// Use the 'v' parameter to indicate the version to use (weekly, beta, alpha, etc.).
// Add other bootstrap parameters as needed, using camel case.
});
</script>
<!-- End Google Places (Maps) -->
<!-- Intercom Messenger -->
<script>
window.intercomSettings = {
api_base: "https://api-iam.eu.intercom.io",
app_id: 'd45mp13o'
};
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var
d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var
s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/' + window.intercomSettings.app_id;var
x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else
if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
<!-- End Intercom Messenger -->
<!-- Stripe client lib -->
<script id="stripe-lib" src="https://js.stripe.com/v3/"></script>
<!-- End Stripe client lib -->
<!-- Share a Sale script -->
<script src="https://www.dwin1.com/85825.js" type="text/javascript" defer="defer"></script>
<!-- End Share a Sale script -->
<title>Rebrandly Dashboard</title>
<script type="module" crossorigin src="/assets/main-CKU2aQWa.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor-lodash-DMKMowF8.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-moment-JiGqlv4i.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-d3-0pBiNfd6.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-siQlcW0R.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-core-js-DpG6wWTV.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-rebrandly-styleguide-yigbeT2w.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-rebrandly-utils-DVTYIw74.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-mixpanel-browser-C4d5yjT0.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-libphonenumber-js-BpwPpEwh.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-rebrandly-contacts-YIyOKgLA.js">
<link rel="stylesheet" crossorigin href="/assets/vendor-2d6kTBOk.css">
<link rel="stylesheet" crossorigin href="/assets/main-CMglUEXH.css">
<script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
<body>
<!-- Vertical gradient -->
<svg aria-hidden="true" focusable="false" style="width:0;height:0;position:absolute;">
<linearGradient id="gradient-horizontal-blue">
<stop offset="0%" stop-color="#2D9CDB" />
<stop offset="50%" stop-color="#34CDE3" />
</linearGradient>
<linearGradient id="gradient-horizontal-orange">
<stop offset="0%" stop-color="#ED456F" />
<stop offset="80%" stop-color="#F5B200" />
</linearGradient>
</svg>
<!-- Google Tag Manager (noscript) -->
<script>
if ('production'.toString() === 'production') {
document.write("<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZVWGS3\"\n" +
"height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>")
}
</script>
<!-- End Google Tag Manager (noscript) -->
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
-->
<!-- Statuspage client lib -->
<script src="https://pfpddjpnmpck.statuspage.io/embed/script.js"></script>
<!-- End Statuspage client lib -->
<!-- CLARITY -->
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "q2f4gn4z7e");
</script>
<!-- End CLARITY -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment