Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/k3rielit/scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
k3rielit committed Dec 7, 2021
2 parents ec7421f + 193d1a6 commit f7ff9ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nr_addons/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NR Addons
Some extra features for the [NR panel](nightriderz.world).
Some extra features for the [NR panel](https://nightriderz.world).
### userscript speedrun any%:
1. Install the Tampermonkey extension. ([Link](https://www.tampermonkey.net))
2. [Install](https://github.com/k3rielit/scripts/raw/main/nr_addons/nr_livemap.user.js)
6 changes: 3 additions & 3 deletions nr_addons/nr_livemap.user.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// ==UserScript==
// @name NR Livemap Addons
// @namespace NR_Addons
// @version 1.0
// @version 1.1
// @description A search feature for the NR livemap.
// @author k3rielit / hrzn
// @downloadURL https://github.com/k3rielit/scripts/raw/main/nr_addons/nr_livemap.user.js
// @match *://livemap.nightriderz.world/*
// @icon https://cdn.nightriderz.world/images/website/favicon.png
// @grant none
Expand All @@ -23,7 +24,6 @@
newElem.appendTo(".move");
$('#search-tbx').on('input', function() {
$('.race').children().css('border-radius','5px');
//console.log(this.value);
for(let _i = 0; _i<$('.race').children().length; _i++) {
if($('.race').children().eq(_i).attr('title').toLowerCase().startsWith(this.value.toLowerCase())) {
$('.race').children().eq(_i).css('display','block');
Expand All @@ -36,4 +36,4 @@
}
});
}
})();
})();

0 comments on commit f7ff9ce

Please sign in to comment.