vivsiepop
This commit is contained in:
parent
be0102da53
commit
0fbfbb2638
2 changed files with 29 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: none;
|
border: none;
|
||||||
|
margin: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.musicdiv {
|
.musicdiv {
|
||||||
|
|
29
src/App.tsx
29
src/App.tsx
|
@ -6,6 +6,30 @@ import Reviews from './components/api.tsx';
|
||||||
import Music, { MusicEntry } from './components/music.tsx';
|
import Music, { MusicEntry } from './components/music.tsx';
|
||||||
export const [shouldpopup, setpopup] = createSignal(false)
|
export const [shouldpopup, setpopup] = createSignal(false)
|
||||||
export const [ishover, setishover] = createSignal(false)
|
export const [ishover, setishover] = createSignal(false)
|
||||||
|
|
||||||
|
function getRandomVivsieWord(){
|
||||||
|
const words = [
|
||||||
|
"fuck",
|
||||||
|
"shit",
|
||||||
|
"pussy",
|
||||||
|
"penis",
|
||||||
|
"dick"
|
||||||
|
]
|
||||||
|
return words[Math.floor(Math.random() * words.length)]
|
||||||
|
}
|
||||||
|
|
||||||
|
function vivsiepop() {
|
||||||
|
const blep = document.body.childNodes;
|
||||||
|
function fuckshit(node: ChildNode) {
|
||||||
|
if (node.nodeType === Node.TEXT_NODE) {
|
||||||
|
node.textContent = getRandomVivsieWord();
|
||||||
|
} else {
|
||||||
|
node.childNodes.forEach(fuckshit);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
blep.forEach(fuckshit)
|
||||||
|
}
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
function remov() {
|
function remov() {
|
||||||
for (let i = 0; i < document.styleSheets.length; i++) {
|
for (let i = 0; i < document.styleSheets.length; i++) {
|
||||||
|
@ -94,7 +118,10 @@ function App() {
|
||||||
<p>typa shit ive been on</p><img style={{
|
<p>typa shit ive been on</p><img style={{
|
||||||
"margin-left": "0.3em",
|
"margin-left": "0.3em",
|
||||||
"max-width": "1.5em"
|
"max-width": "1.5em"
|
||||||
}} src="https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/1f525.png"/>
|
}} src="https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/1f525.png" />
|
||||||
|
</div>
|
||||||
|
<div class="musicbutton" onclick={vivsiepop}>
|
||||||
|
<p>echo if it was written by vivsiepop</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<AdvancedBr count={3} />
|
<AdvancedBr count={3} />
|
||||||
|
|
Loading…
Reference in a new issue