Compare commits
2 Commits
e65077957d
...
f6c165c0a1
| Author | SHA1 | Date | |
|---|---|---|---|
| f6c165c0a1 | |||
| 53262c128c |
@@ -3,7 +3,7 @@
|
||||
// @namespace https://jotde.eu
|
||||
// @updateURL https://gitea.jotde.be/jens/tornjs/raw/branch/master/bazaar.user.js
|
||||
// @downloadURL https://gitea.jotde.be/jens/tornjs/raw/branch/master/bazaar.user.js
|
||||
// @version 0.4
|
||||
// @version 0.5
|
||||
// @description try to take over the world!
|
||||
// @author JotDe:
|
||||
// @match https://www.torn.com/bazaar.php*
|
||||
@@ -33,7 +33,6 @@ async function forElement(element) {
|
||||
|
||||
async function changePlaceholder(marketItems) {
|
||||
let itemList = document.querySelectorAll('ul[class^="items-cont"][style="display:block;"] li');
|
||||
console.log(marketItems);
|
||||
itemList.forEach((item) => {
|
||||
const itemid = item.querySelector("img").getAttribute("src").split("/")[3];
|
||||
const marketItem = marketItems[itemid];
|
||||
|
||||
Reference in New Issue
Block a user