Greasy Fork is available in English.

Habr: Return the votes

Returns votes under comments

< Habr: Return the votes 피드백

리뷰: 나쁨 - 동작하지 않음

§
작성: 2024-04-19
수정: 2024-04-19

на днях перестал работать, видимо хабр что-то изменил

§
작성: 2024-04-22

Подправьте

(function () {
  'use strict';
  Object.defineProperty = new Proxy(Object.defineProperty, {
    apply(target, _, argumentsList) {
      if (argumentsList[1] !== 'isLoggedIn') return Reflect.apply(...arguments);
      return target(argumentsList[0], argumentsList[1], {
        get() {
          if (Object.prototype.hasOwnProperty.call(this, '_')&&this._.type.name === 'TMVotesLever') {
            return true;
          }
        },
      });
    },
  });
})();
askornot개발자
§
작성: 2024-04-23

@A.L. обновите скрипт.
@o2bw1ujnaj, спасибо!

댓글 남기기

댓글을 남기려면 로그인하세요.