Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Багфикс #4 + реализовал нормальное открытие плеера
Browse files Browse the repository at this point in the history
snowlue authored Aug 29, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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)
@@ -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

0 comments on commit dc714b4

Please sign in to comment.