Hide OP's post

Hides the OP in a thread.

  1. // ==UserScript==
  2. // @name Hide OP's post
  3. // @namespace pxgamer
  4. // @version 0.2
  5. // @description Hides the OP in a thread.
  6. // @author pxgamer
  7. // @include *kat.cr/community/show/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. $('.commentHeadLine:first .floatright').prepend('<span class="ka ka16 ka-eye toggleOP" title="Toggle OP"></span> ');
  15. if ($('.firstPost').length > 0) {
  16. $('div[id^="post"]:first').hide();
  17. }
  18. $('.toggleOP').on('click', function() {
  19. $('div[id^="post"]:first').toggle();
  20. });
  21. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址