Комментарий #10220609

animeshnik_ALT
Мои скрипты
как работают скрипты
Первое что нужно сделать это установить Tampermonkey Если возникли проблемы с этим расширением, можете попробовать другие: Violentmonkey, либо Greasemonkey для Firefox
Далее установить скрипт, нажав на ссылку рядом со словом "Установка:"
Эти скрипты устанавливаются и работают на сайтах, где указаны @match.
Скрипты автоматически не обновляются, то есть, если автор решит изменить код, вы изменений не увидите пока не переустановите скрипт.
Авто добавление даты в комменты к тайтлу
важное примечание
Скрипт записывает дату в комментарии только при условии, что сами комментарии открыты.
Что сделать чтобы скрипт заработал:
как открыть комментарий
навести и нажать на выделенные элементы:
914x340168x282282x696
1. изменить список тайтла
2. нажать сохранить
887x488
При добавлении в смотрю/пересматриваю (переменная startingLists) добавляется тек. дата с вопросиком примерно так: 06.12.23-?
При добавлении в просмотрено/отложено (endingLists) этот вопросик заменяется на тек. дату примерно так: 06.12.23-30.01.24
С версии 5 если месяц и год совпадают, то добавляется лишь новый день: 06-27.12.23
Если месяц отличается, то дата меняется так: 06.02-27.04.23
При добавлении в запланировано/брошено (ignoredLists) ничего не происходит.
*При желании значения переменных можно изменить (находятся практически в самом верху скрипта)*

Установка: Github Gist
Последнее обновление: 27.04.24
Гирлянда вокруг l-page (основного меню)
Недостатки: сильно нагружает страницу, не рекомендуется на слабых пк, также из-за этого гирлянда не обновляется при увеличении высоты страницы.
1304x937
css код (возможно нужно будет подобрать под себя)
/*Гирлянда мигающая (с инета)*/
.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
  font-size: 0;
}

.lightrope strong {
  position: relative;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #00f7a5;
  box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  -webkit-animation-name: flash-1;
  animation-name: flash-1;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.lightrope strong:nth-child(2n+1) {
  background: cyan;
  box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.5);
  -webkit-animation-name: flash-2;
  animation-name: flash-2;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

.lightrope strong:nth-child(4n+2) {
  background: #f70094;
  box-shadow: 0px 4.66667px 24px 3px #f70094;
  -webkit-animation-name: flash-3;
  animation-name: flash-3;
  -webkit-animation-duration: 1.1s;
  animation-duration: 1.1s;
}

.lightrope strong:nth-child(odd) {
  -webkit-animation-duration: 1.8s;
  animation-duration: 1.8s;
}

.lightrope strong:nth-child(3n+1) {
  -webkit-animation-duration: 1.4s;
  animation-duration: 1.4s;
}

.lightrope strong:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.33333px;
  border-radius: 3px;
  top: -4.66667px;
  left: 1px;
}

.lightrope strong:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.66667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}

.lightrope strong:last-child:after {
  content: none;
}

.lightrope strong:first-child {
  margin-left: -40px;
}

@-webkit-keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}

@-webkit-keyframes flash-2 {
  0%, 100% {
    background: cyan;
    box-shadow: 0px 4.66667px 24px 3px cyan;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}

@keyframes flash-2 {
  0%, 100% {
    background: cyan;
    box-shadow: 0px 4.66667px 24px 3px cyan;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}

@-webkit-keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.66667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}

@keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.66667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}

@media screen and (max-width: 1199px) {
  .lightrope {
    display: none !important;
  }
}
.lightrope.left strong,
.lightrope.right strong {
  width: 28px;
  height: 12px;
  display: block;
  margin: 40px 20px;
}

.lightrope.left strong::first-child,
.lightrope.right strong::first-child {
  margin-left: 20px;
  margin-top: 0;
}

.lightrope.left strong::last-child,
.lightrope.right strong::last-child {
  margin-bottom: 0;
}

.lightrope.left strong::before,
.lightrope.right strong::before {
  left: unset;
  top: 0.7px;
  right: -6px;
  transform: rotate(-90deg);
}

.lightrope.left strong::after,
.lightrope.right strong::after {
  transform: rotate(90deg);
  top: 22px;
  left: 6px;
}

.lightrope.top {
  transform: scaleY(-1);
}
.lightrope.right {
  transform: scaleX(-1);
}

.lightrope.top {
    top: -169px;
}
.lightrope.right {
    right: -53px;
}
.lightrope.left {
    left: -53px;
}
.lightrope.right strong:first-child,
.lightrope.left strong:first-child {
    margin-top: 12px;
}

Установка: Github Gist
Последнее обновление: 11.01.24
для разработчиков
Скрипт для показа уведомлений об обновлении скрипта на Github Gist:
Github Gist
Последнее обновление: 27.04.24
Ответы

Нет комментариев

назад
Твой комментарий
Вернуться к редактированию
Предпросмотр
Скрыть