Greasy Fork镜像 支持简体中文。

Previous and Next User IDs

Allows you to go to the previous and next user.

  1. // ==UserScript==
  2. // @name Previous and Next User IDs
  3. // @author Joe Elite
  4. // @version 1.0
  5. // @description Allows you to go to the previous and next user.
  6. // @match https://www.brick-hill.com/user/*
  7. // @grant none
  8. // @namespace https://gf.qytechs.cn/users/1037699
  9. // ==/UserScript==
  10.  
  11.  
  12. var prevButton = $('<button>').html('<i class="fa fa-arrow-left"></i> Previous').addClass('btn btn-primary').css({
  13. 'position': 'absolute',
  14. 'bottom': '515px',
  15. 'left': '3px',
  16. 'z-index': '9999',
  17. 'background-color': 'transparent',
  18. 'color': 'white',
  19. 'border': 'none',
  20. 'min-width': '100px',
  21. 'outline': 'none'
  22. });
  23.  
  24. var nextButton = $('<button>').html('Next <i class="fa fa-arrow-right"></i>').addClass('btn btn-primary').css({
  25. 'position': 'absolute',
  26. 'bottom': '515px',
  27. 'right': '3px',
  28. 'z-index': '9999',
  29. 'background-color': 'transparent',
  30. 'color': 'white',
  31. 'border': 'none',
  32. 'min-width': '100px',
  33. 'outline': 'none'
  34. });
  35.  
  36. $('.card .content.text-center.bold.medium-text.relative.ellipsis').append(prevButton, nextButton);
  37.  
  38. prevButton.on('click', function() {
  39. var current = parseInt(window.location.href.match(/\/user\/(\d+)/)[1]);
  40. window.location.href = 'https://www.brick-hill.com/user/' + (current - 1);
  41. });
  42.  
  43. nextButton.on('click', function() {
  44. var current = parseInt(window.location.href.match(/\/user\/(\d+)/)[1]);
  45. window.location.href = 'https://www.brick-hill.com/user/' + (current + 1);
  46. });

QingJ © 2025

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