Skip to content

Commit

Permalink
Багфикс #4 + реализовал нормальное открытие плеера
Browse files Browse the repository at this point in the history
  • Loading branch information
snowlue authored Aug 29, 2021
1 parent f8420b1 commit dc714b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions vk-concentrate.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name VK Concentrate
// @namespace http://tampermonkey.net/
// @description Нажмите Alt+A на любой странице ВКонтакте и сконцентрируйтесь на важном
// @version 1.4
// @version 1.5
// @author PaveTranquil
// @match https://*.vk.com/*
// @copyright 2021, PaveTranquil (https://vk.com/pavetranquil)
Expand Down Expand Up @@ -54,10 +54,9 @@ var style =

// В плеере ставим центровку и отключаем разворачивание плейлиста
".HeaderNav__item--player {flex-grow: 0; margin-right: auto;}" +
".eltt_bottom {left: -361.7375px !important;}" +
".HeaderNav__btns {margin-left: auto;}" +
".TopHomeLink {width: auto;}" +
".top_audio_player_btn {pointer-events: all;}" +
".top_audio_player.top_audio_player_enabled {pointer-events: none;}";
".TopHomeLink {width: auto;}";


if (document.location.href.indexOf("vk.com/bug") + 1) { // Проверяем, не находимся ли мы на vk.com/bugs или vk.com/bug123
Expand Down

0 comments on commit dc714b4

Please sign in to comment.