1
quietjosen 2019-03-06 17:12:29 +08:00 via iPhone
截图展示啥的,还是要的。
|
2
MyFaith 2019-03-06 17:21:32 +08:00
iframe 内无效
|
3
solobat 2019-03-06 18:51:03 +08:00
如果只是这个功能的话,用油猴脚本就行了
|
5
journey0ad 2019-03-06 19:08:25 +08:00
javascript:!document.querySelector('style#ghost')&&(document.body.innerHTML+='<style id="ghost">html.ghost *{background:#000 !important;color:#0f0 !important;outline:solid #f00 1px !important;}</style>');document.documentElement.classList.toggle('ghost');
加为书签 |
6
rabbbit 2019-03-06 19:28:04 +08:00
javascript:const getRandomColor =() => { let letters = '0123456789ABCDEF';let color = '#';for (let i = 0; i < 6; i++) {color += letters[Math.floor(Math.random() * 16)];}return color;};Array.from(document.all).forEach(el => el.style.outline = `1px solid ${getRandomColor()}`)
|
7
mengkun 2019-03-07 08:26:51 +08:00
javascript: [].forEach.call($("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)})
|
10
Baymaxbowen 2019-03-07 09:33:43 +08:00 via Android
控制台会报错
|
12
unizheng OP @Baymaxbowen 请问报什么错呢
|