您需要先安装一个扩展,例如 篡改猴、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%;} \ #layer, .pv_light #layer {margin-top: 0px !important;margin-bottom: 20px !important;} \ #pv_narrow { max-height: 450px; height: 100% !important; width: 100% !important;} \ .pv_no_commments_placeholder_wrap { margin-top: 20px !important;} \ .pv_cont .pv_reply_form_wrap {width: 100%; } \ /* VIDEO */ \ #profile_videos .module_header {height: 20px; background: #DEE5EB;} \ #profile_videos .module_header .header_top {color: #45688E; height: 20px; line-height: 18px; padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #profile_videos .module_body {padding: 0 0 10px 0;} \ #profile_videos .module_body .video_row .video {border-radius: 0;} \ /* GIFTS */ \ #profile_gifts .module_header {height: 20px; background: #DEE5EB;} \ #profile_gifts .module_header .header_top {color: #45688E; height: 20px; line-height: 18px; padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #profile_gifts .header_right_link {display: none;} \ #profile_gifts .module_body {padding: 10px 0 0;} \ /* AUDIO */ \ #profile_audios .module_header {height: 20px; background: #DEE5EB;} \ #profile_audios .module_header .header_top {color: #45688E; height: 20px; line-height: 18px; padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #profile_audios .module_body {padding: 5px 0 10px;} \ #profile_audios .audio_play {border-radius: 5px;} \ .post_info .page_post_sized_thumbs.clear_fix, .page_gif_large { \ -webkit-transform: scale(0.751); \ -moz-transform: scale(0.751); \ margin-left: -60px; \ } \ /***** R. COLUMN *****/ \ #content .wide_column_left .wide_column_wrap {width: 100% !important; margin-left: 0px !important;} \ #content .wide_column_left .narrow_column_wrap {display: none;} \ #content #public .wide_column_left .wide_column_wrap {width: 65% !important;} \ #content #public .wide_column_left .narrow_column_wrap {display: block;} \ /*** INFO ***/ \ #wide_column #page_info_wrap {padding: 0 0 5px; font-size: 11px;} \ #wide_column #page_info_wrap .page_name {color: #45688E; font-weight: bold; font-size: 13px;} \ #wide_column #page_info_wrap .page_top {padding: 0px 0 5px 5px;} \ #wide_column #page_info_wrap .profile_info_short {padding-top: 5px;} \ #wide_column #page_info_wrap .profile_info_short .profile_info_row {padding-top: 2px;} \ #wide_column #page_info_wrap #profile_short .profile_info_row {padding-left: 5px;} \ #wide_column #page_info_wrap #profile_short .profile_more_info_link:hover {background: #E9EDF1;} \ #wide_column #page_info_wrap #profile_short .profile_more_info_link {padding-left: 170px;} \ #wide_column #page_info_wrap #profile_full .profile_info_block {padding: 0 0 29px 5px;} \ #wide_column #page_info_wrap .profile_info_header {color: #45688E; font-weight: bold; font-size: 11px;} \ /*** COUNTS ***/ \ #wide_column .counts_module {display: none !important;} \ /*** DEBUG MESSAGE ***/ \ /*** #wide_column .page_block {display: block !important;} ***/ \ /*** WHAT IS NEW ***/ \ #wide_column .page_block .post_field_user_image {border-radius: 0px;} \ /*** NEWS ***/ \ #page_body .wide_column_left .post_img, .wide_column_left .reply_img {border-radius: 0px;} \ #wide_column .page_block .page_post_sized_thumbs {max-width: 100%; vertical-align: middle;} \ #wide_column .page_post_sized_thumbs {align-content: center;} \ /*** MESSAGES ***/ \ /* #page_body .im_grid {border-radius: 0%;} */ \ /*** FRIENDS ***/ \ #page_body .friends_photo_img {border-radius: 0%;} \ /*** GROUPS ***/ \ #page_body .group_row_img {border-radius: 0%;} \ /*** PHOTO R. ***/ \ #page_body .photos_container {display: block;} \ #page_body .photos_container .photos_row_wrap {overflow: visible;} \ #page_body .photos_container .photos_row.photos_photo_old {width: 180px !important; height: 180px;} \ #page_body .photos_container .photos_row_wrap {max-width: 540px; max-height: 180px;} \ #page_body .photos_container .photos_period_delimiter {position: fixed;} \ .wide_column .header_right_link {display: none !important;} \ #wide_column #profile_photos_module .module_header {height: 20px; background: #DEE5EB;} \ #wide_column #profile_photos_module .module_header .header_top {color: #45688E; height: 20px; line-height: 18px; padding: 0 0 0 8px; font-weight: bold; font-size: 11px;} \ #wide_column #profile_photos_module #page_photos_module {padding: 5px 0 10px; display: flex; justify-content: center;} \ #wide_column #profile_photos_module #page_photos_module .page_square_photo {width: 25%;} \ /*** WALL ***/ \ #profile_wall .post_header .post_img {border-radius: 0;} \ #profile_wall #page_wall_posts .post_content .wall_text {overflow: hidden;} \ /**** GAMES ***/ \ #apps_content .apps_featured_slider {width: 610px;} \ /*** VIDEOS ***/ \ #video_content_catalog .videocat_row {width: 569px; margin-left: 0;} \ #video_content_catalog .videocat_row_content {margin-left: 15px;} \ #videocat_other_blocks .videocat_featured_playlists {width: 569px;} \ .video_block_layout, .video_block_layout .videocat_row {width: 569px; overflow: auto;} " addGlobalStyle(css);