This file contains 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
// Function to set the width and height of the element | |
function setElementSize(element) { | |
element.style.width = '47px'; | |
element.style.height = '47px'; | |
} | |
// Function to check for the element's existence and set its size | |
function checkForElement() { | |
const chatWidget = document.querySelector('chat-widget'); | |
if (chatWidget && chatWidget.shadowRoot) { |
This file contains 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
<html> | |
<head> | |
<a href="https://noc.social/@groksrc" rel="me">@[email protected] I ❤️ Mastodon</a> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/server.js", | |
"stopOnEntry": false, | |
"args": [], |
This file contains 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
<html> | |
<body> | |
<script> | |
(function() { | |
var foo = new Object(); | |
var bar = new Object(); | |
var map = new Object(); | |
map[foo] = 'foo'; | |
map[bar] = 'bar'; |