您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
возвращает старый дизайн вконтакте
当前为
// ==UserScript== // @name Vk Design (Firefox version) // @namespace vk.com // @include https://vk.com/* // @version 0.7 // @description возвращает старый дизайн вконтакте // @grant none // ==/UserScript== function addGlobalStyle(css) { try { var elmHead, elmStyle; elmHead = document.getElementsByTagName('head')[0]; elmStyle = document.createElement('style'); elmStyle.type = 'text/css'; elmHead.appendChild(elmStyle); elmStyle.innerHTML = css; } catch (e) { if (!document.styleSheets.length) { document.createStyleSheet(); } document.styleSheets[0].cssText += css; } } var css = " \ body {background: #FFF; font-family: tahoma, arial, verdana, sans-serif;} \ #page_body {font-size: 11px;} \ \ \ /************ Width ************/ \ #page_layout {} \ #page_body {border-left: 1px solid #D9E0E7;border-right: 1px solid #D9E0E7; box-sizing: border-box; \ margin: 35px 15px 0 0;} \ div#content { padding: 0 10px;} \ /************ HEADER ***********/ \ #page_header_cont {height: 40px; left: auto; position: absolute;} \ #page_header_cont .back {height: 40px; border: none; border-radius: 0 0 10px 10px;} \ #page_header_wrap {height: 40px;} \ #page_header {height: 40px; padding: 0;} \ #page_header input.text.ts_input {width: 200px; background-color: #FFf;} \ .top_home_link {padding-left: 15px; height: 40px; width: 142px;} \ #top_nav>div {height: 40px;} \ .top_nav_link:hover, .top_nav_link.active {border-bottom-right-radius: 10px; height: 40px;} \ .top_nav_link {line-height: 40px;} \ #page_header input.text.ts_input {border-radius: 0;} \ .top_profile_img {display: none;} \ .top_profile_name {padding: 0;} \ .top_nav_btn {height: 40px;} \ .ts_cont_wrap {left: 155px; width: 201px;} \ a.ts_contact {padding: 8px;} \ .ts_contact_name {width: 141px;} \ #top_nav > div .fl_l {padding: 0;} \ /*** LOGO ***/ \ #page_header_cont .top_home_link {padding: 0 0;} \ #page_header{margin: 0; padding:0;} \ /*** SIDEBAR ***/ \ #side_bar .more_div {margin: 3px 0 0; padding-top: 3px; border-top: 1px solid #E7EAED; width: 136px;} \ #side_bar_inner {position:absolute !important} \ #side_bar .left_fixer {padding-left: 6px;} \ #side_bar .left_label.inl_bl {padding: 4px 0; height: 18px;} \ #side_bar .left_label {font-size: 11px; line-height: inherit;} \ #side_bar .left_icon, #side_bar .more_div, .left_menu_nav_wrap, \ #side_bar .left_settings, #side_bar .ads_left {display: none;} \ #side_bar_inner ol {display:flex;flex-wrap:wrap} \ #side_bar_inner ol li {order:100} \ #side_bar_inner ol #l_pr {order:1} \ #side_bar_inner ol #l_fr {order:2} \ #side_bar_inner ol #l_ph {order:3} \ #side_bar_inner ol #l_vid {order:4} \ #side_bar_inner ol #l_aud {order:5} \ #side_bar_inner ol #l_msg {order:6} \ #side_bar_inner ol #l_gr {order:7} \ #side_bar_inner ol #l_nwsf {order:8} \ #side_bar_inner ol #l_ntf{order:9} \ #side_bar_inner ol #l_fav {order:10} \ #side_bar_inner ol #l_set {order:11} \ #side_bar_inner ol .more_div.l_main {order:12} \ #side_bar_inner ol #l_ap {order:13} \ #side_bar_inner ol #l_doc {order:14} \ #side_bar_inner ol #l_ads {order:15} \ #side_bar_inner ol #l_apm {order:16} \ #side_bar_inner ol .more_div {order:17} \ #side_bar_inner ol .l_comm {order:18} \ #l_nwsf span.left_label:before{content:\"Мои \" !important} \ #l_msg span.left_label:before{content:\"Мои \" !important} \ #l_fr span.left_label:before{content:\"Мои \" !important} \ #l_gr span.left_label:before{content:\"Мои \" !important} \ #l_ph span.left_label:before{content:\"Мои \" !important} \ #l_aud span.left_label:before{content:\"Мои \" !important} \ #l_vid span.left_label:before{content:\"Мои \" !important} \ #l_ap span.left_label:before{content:\"Мои \" !important} \ #l_fav span.left_label:before{content:\"Мои \" !important} \ #l_doc span.left_label:before{content:\"Мои \" !important} \ #side_bar ol li {width: 136px; padding:3px;margin:1px} \ #side_bar .left_count_wrap {font-size:10px; padding:3px; margin:1px; height:auto;line-height:inherit;} \ #side_bar .left_count:before{content:\"+ \" !important} \ #side_bar .inl_bl{line-height:130%} \ /*** TOP MENU ***/ \ #top_profile_menu .top_profile_mrow {} \ /*** ADBLOCKS ***/ \ #left_ads, #ads_left, #group_recom_wrap, .ads_ads_news_wrap {display: none !important;} \ #side_bar #left_ads *, #side_bar #ads_left * {display:none !important; \ overflow: hidden !important; width: 0px !important; height: 0px !important;} \ #ads_left, #left_ads { overflow: hidden !important; width: 0px !important; \ height: 0px !important;} \ /****** PROFILE *****/ \ /***** LEFT COLUMN *****/ /*** OK ***/ \ /*WIDTH*/ \ #profile .wide_column_right .narrow_column_wrap {width: 200px;} \ #profile #narrow_column {width: 200px;} \ #profile .wide_column_wrap {margin-left: 220px} \ /*AVA*/ \ .page_photo {padding: 0;} \ /*FRIENDS*/ \ #profile_friends .module_header {background-color: #DEE5EB; height: 20px;} \ #profile_friends .module_header .header_top {padding: 0px 10px;} \ #profile_friends .module_header h3 {height: 20px; line-height: 16px; color: #45688E; font-weight: bold; font-size: 11px;} \ #profile_friends .header_right_link {height: 20px; line-height: 18px; color: #99ADC2;} \ #profile_friends .module_body {padding: 5px 0 5px 0;} \ #profile_friends .module_body .people_row {width: 200px;} \ #profile_friends .module_body .people_row .people_cell {width: 66px; padding: 5px 0;} \ #profile_friends .module_body .people_cell_img {border-radius: 0px;} \ #profile_friends .module_body .people_cell_ava {padding-bottom: 5px; margin: 0 9px;} \ /*FRIENDS ONLINE*/ \ #profile_friends_online .module_header {background-color: #DEE5EB; height: 20px;} \ #profile_friends_online .module_header .header_top {padding: 0px 10px;} \ #profile_friends_online .module_header h3 {height: 20px; line-height: 16px; color: #45688E; font-weight: bold; font-size: 11px;} \ #profile_friends_online .header_right_link {height: 20px; line-height: 18px; color: #99ADC2;} \ #profile_friends_online .module_body {padding: 5px 0 5px 0;} \ #profile_friends_online .module_body .people_row {width: 200px;} \ #profile_friends_online .module_body .people_row .people_cell {width: 66px; padding: 5px 0;} \ #profile_friends_online .module_body .people_cell_img {border-radius: 0px;} \ #profile_friends_online .module_body .people_cell_ava {padding-bottom: 5px; margin: 0 9px;} \ /* IDOLS */ \ #profile_idols .module_header {height: 21px; background: #DEE5EB;} \ #profile_idols .module_header .header_top {color: #45688E; height: 21px; line-height: 20px; padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #profile_idols .module_header .header_count {padding: 0 0 0 5px; line-height: 20px;} \ #profile_idols .module_body {padding: 8px; font-size: 11px;} \ #profile_idols .module_body .group_desc {font-size: 0.9em;} \ #profile_idols .module_body .thumb {border-radius: 0px;height: 32px; width: 32px; margin-right: 8px;} \ #profile_idols .module_body .desc_info {width: 144px; padding: 0;} \ #profile_idols .module_body .cell_img {height: 32px; width: 32px; border-radius: 0;} \ /* PHOTO */ \ #public_albums .module_header {height: 20px; background: #DEE5EB;} \ #public_albums .module_header .header_top {color: #45688E; height: 20px; line-height: 18px; \ padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #public_albums .module_body {padding: 0 0 10px 0;} \ #public_albums .album_module .page_album_row {border-radius: 0;} \ #pv_photo {width: 100% !important;} \ .pv_cont .pv_narrow_column_wrap { width: 100%;} \ .pv_cont .pv_left_wrap {top: auto; float: left; width: 100%;} " addGlobalStyle(css);