A Pen by semanticentity on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>WHITE DWARF</title> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
A collection of dead-simple, high-impact Google Tag Manager recipes for marketers, analysts, and developers who want results without touching the production codebase.
This is a plug-and-play library of GTM tags, triggers, and variables that will supercharge your analytics, unlock conversion insights, and make your clients or boss wonder how they ever lived without you.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Welcome our new insect overlords | |
User-agent: Googlebot | |
Allow: / | |
User-agent: Bingbot | |
Allow: / | |
User-agent: Applebot | |
Allow: / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(async function(){ | |
if(!navigator.mediaDevices||!navigator.mediaDevices.getDisplayMedia){ | |
alert("Screen recording not supported"); | |
return; | |
} | |
var filename = prompt("Make sure you are in a tab other than the one you are recording.\nEnter filename (no extension):","lewm-recording"); | |
if(!filename) filename = "lewm-recording"; | |
alert("Select a TAB and check 'Share tab audio' in the popup. For audio, do NOT chose full screen or window."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener("load", function() { | |
setTimeout(function(){ | |
const isBackgroundSet = getComputedStyle(document.documentElement).getPropertyValue('--arc-palette-background') ? 'Yes' : 'No'; | |
console.log('1 second after window load: ', isBackgroundSet); | |
if (isBackgroundSet === 'Yes') { | |
window.location.href = 'https://www.yahoo.com'; | |
} | |
}, 1000); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Apply to: https://platform.openai.com/playground/chat */ | |
.interactive { | |
display: inline-block !important; | |
border: .04rem solid #999 !important; | |
width: 66%; | |
min-height: 100px; | |
float: right !important; | |
margin-bottom: 10px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:document.querySelectorAll('a[href*="reddit.com"]').forEach(e=>{for(var r=e;r&&"DIV"!==r.tagName;)r=r.parentNode;r&&r.parentNode&&r.parentNode.removeChild(r)}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { var currentPageUrl = encodeURIComponent(window.location.href); var googleCacheUrl = 'https://webcache.googleusercontent.com/search?q=cache:%27 + currentPageUrl; var siteSearchUrl = %27https://www.google.com/search?q=site:%27 + currentPageUrl; window.open(googleCacheUrl, %27_blank%27); window.open(siteSearchUrl, %27_blank%27);})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
let url = window.location.href; | |
let query; | |
if(url.includes('google.com/search?q=')){ | |
query = url.split('google.com/search?q=')[1].split('&')[0]; | |
window.location.href = 'https://www.bing.com/search?q=' + query; | |
} | |
else if(url.includes('bing.com/search?q=')){ | |
query = url.split('bing.com/search?q=')[1].split('&')[0]; | |
window.location.href = 'https://www.google.com/search?q=' + query; |