Browse is important

try to take over the world!

  1. // ==UserScript==
  2. // @name Browse is important
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description try to take over the world!
  6. // @author BigNibba
  7. // @include https://anilist.co/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. // Your code here...
  15. let loggedIn = true;
  16. let navDiv = document.querySelector(".links");
  17. for(let i = 0; i <= navDiv.childNodes.length-1; i++){
  18. if(navDiv.childNodes[i].innerText == "Login"){loggedIn = false;} // Checks if user is logged in
  19. }
  20.  
  21. if(loggedIn){
  22. navDiv.insertBefore(navDiv.childNodes[8],navDiv.childNodes[2]);
  23. }
  24.  
  25. })();

QingJ © 2025

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