upd
This commit is contained in:
parent
0b334984d8
commit
bd91a0f909
62
css/vk.css
62
css/vk.css
@ -121,17 +121,67 @@
|
|||||||
.im-page--dcontent,
|
.im-page--dcontent,
|
||||||
.pv_narrow_column_wrap,
|
.pv_narrow_column_wrap,
|
||||||
#layer_bg,
|
#layer_bg,
|
||||||
|
#box_layer_bg,
|
||||||
#pv_box,
|
#pv_box,
|
||||||
.pv_cont,
|
.pv_cont,
|
||||||
.narrow_column {
|
.narrow_column,
|
||||||
|
#wk_box,
|
||||||
|
.tabbed_box .summary_tab_sel .summary_tab1,
|
||||||
|
.tabbed_box .summary_tab_sel .summary_tab2,
|
||||||
|
.tabbed_box .summary_tab_sel .summary_tab3,
|
||||||
|
.online.mobile::after,
|
||||||
|
.flat_button.ui_load_more_btn,
|
||||||
|
.im-page--history-new-bar,
|
||||||
|
.im-page--history-new-bar > span,
|
||||||
|
.audio_page_layout .audio_friends_list,
|
||||||
|
.audio_page_player2.audio_page_player_fixed,
|
||||||
|
.friends_dropdown__list_content,
|
||||||
|
.pv_white_bg,
|
||||||
|
body.is_page {
|
||||||
background-color: #050505 !important;
|
background-color: #050505 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.TopHomeLink--logoWithText,
|
.online::after {
|
||||||
.left_icon {
|
border-color: black !important;
|
||||||
filter: invert(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.like_tt_header * {
|
.TopHomeLink--logoWithText,
|
||||||
color: #fff;
|
.TopHomeLink,
|
||||||
|
.left_icon,
|
||||||
|
.olist_checkbox,
|
||||||
|
.chat_onl:after,
|
||||||
|
.audio_row__play_btn,
|
||||||
|
.settings_narrow_row input[type="checkbox"] + label:before,
|
||||||
|
.checkbox:before,
|
||||||
|
.wall_post_source_icon {
|
||||||
|
filter: invert(1);
|
||||||
|
transform: rotate(1deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.LeftMenu__icon {
|
||||||
|
transform: rotate(1deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.like_tt_header *,
|
||||||
|
.im-chat-input .im-chat-input--text *,
|
||||||
|
.page_album_title,
|
||||||
|
.im-chat-input--text div,
|
||||||
|
.media_voting_bg_photo * {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ads_left,
|
||||||
|
#fastchat-reforged,
|
||||||
|
.chat_onl_wrap,
|
||||||
|
ShortVideoFeedBlock {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* html {
|
||||||
|
animation: blur 3s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blur {
|
||||||
|
0%, 100% { filter: hue-rotate(-360deg); transform: rotate(-1deg); }
|
||||||
|
50% { filter: hue-rotate(360deg); transform: rotate(1deg); }
|
||||||
|
} */
|
||||||
|
38
js/vk.js
Normal file
38
js/vk.js
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
((cssref) => {
|
||||||
|
const style = document.createElement("link");
|
||||||
|
style.rel = "stylesheet";
|
||||||
|
style.type = "text/css";
|
||||||
|
style.href = chrome.extension.getURL(cssref);
|
||||||
|
document.querySelector("head").appendChild(style);
|
||||||
|
})("css/vk.css");
|
||||||
|
let rot = 0;
|
||||||
|
cb = (
|
||||||
|
button => {
|
||||||
|
if (button.uwu)
|
||||||
|
return;
|
||||||
|
button.addEventListener(
|
||||||
|
'mouseenter',
|
||||||
|
() => {
|
||||||
|
rot += -1 + Math.random() * 2;
|
||||||
|
rot *= .9;
|
||||||
|
document.body.style.transform = `rotate(${rot}deg)`;
|
||||||
|
button.style.transform = `rotate(${-2*rot}deg)`;
|
||||||
|
button.style.position = `relative`;
|
||||||
|
button.style.top = `${-50+100*Math.random()}px`;
|
||||||
|
button.style.left = `${-50+100*Math.random()}px`;
|
||||||
|
button.style.filter = `hue-rotate(${360*Math.random()}deg)`;
|
||||||
|
if (Math.random() < .05)
|
||||||
|
button.after(button.cloneNode(true));
|
||||||
|
}
|
||||||
|
);
|
||||||
|
button.uwu = true;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
/*setInterval(() => {
|
||||||
|
document.querySelectorAll('button').forEach(
|
||||||
|
cb
|
||||||
|
)
|
||||||
|
document.querySelectorAll('a').forEach(
|
||||||
|
cb
|
||||||
|
)
|
||||||
|
}, 1)*/
|
@ -21,9 +21,13 @@
|
|||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["https://*.vk.com/*"],
|
"matches": ["https://*.vk.com/*"],
|
||||||
"css": ["css/vk.css"]
|
"css": ["css/vk.css"],
|
||||||
|
"js": ["js/vk.js"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"web_accessible_resources": [
|
||||||
|
"css/vk.css"
|
||||||
|
],
|
||||||
"icons": {
|
"icons": {
|
||||||
"16": "png/icss16.png",
|
"16": "png/icss16.png",
|
||||||
"32": "png/icss32.png",
|
"32": "png/icss32.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user