User:Tancre/2/hackpact/Tags Highlighter: Difference between revisions
< User:Tancre | 2 | hackpact
No edit summary |
|||
Line 1: | Line 1: | ||
== Unspatial Spaces == | == Unspatial Spaces == | ||
[[File:Screenshot_2019-12-03_UNSPACIAL_SPACES.png | | [[File:Screenshot_2019-12-03_UNSPACIAL_SPACES.png | 8000px]] | ||
=== Empty space=== | === Empty space=== | ||
[[File:Empty.PNG | | [[File:Empty.PNG | 200px]] | ||
=== Non-Spatial space=== | === Non-Spatial space=== | ||
[[File:non_spatial.PNG | | [[File:non_spatial.PNG | 200px]] | ||
=== 1D space === | === 1D space === | ||
[[File:1d.PNG | | [[File:1d.PNG | 200px]] | ||
=== Invisible Space === | === Invisible Space === | ||
[[File:invisible.PNG | | [[File:invisible.PNG | 200px]] | ||
=== about:blank === | === about:blank === | ||
[[File:about_blank.PNG | | [[File:about_blank.PNG | 200px]] | ||
== DOM Annihilator == | == DOM Annihilator == | ||
[[File:Screenshot_2019-12-03_DOM_Annihilator.png | 800px]] | |||
<source lang="js"> | <source lang="js"> | ||
document.documentElement.remove() | document.documentElement.remove() |
Revision as of 22:36, 3 December 2019
Unspatial Spaces
Empty space
Non-Spatial space
1D space
Invisible Space
about:blank
DOM Annihilator
document.documentElement.remove()
Infinite Spaces
2D
3D
Auto Scrolling
function pageScroll() {
window.scrollBy(0,10);
scrolldelay = setTimeout(pageScroll,10);
}
pageScroll();
var all = document.getElementsByTagName('*');
Tags Highliter
function tagHighliter(){
for (var i = 1; i < all.length; i++) {
var s = all[i].style
const r = Math.floor(Math.random() * 256);
const g = Math.floor(Math.random() * 256);
const b = Math.floor(Math.random() * 256);
s.borderColor = 'rgb('+ g +','+ b + ',' + r + ')';
//s.background = 'rgb('+ r +','+ g + ',' + b + ')';
s.borderStyle = 'dashed';
s.borderWidth = '4px';
//s.fontSize = '200px';
}
}
tagHighliter();
var interval = setInterval(function () { tagHighliter(); }, 10000);