We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe3731e + ccdf83e commit a287908Copy full SHA for a287908
1 file changed
static/scripts/ViewTrades.user.js
@@ -1,7 +1,7 @@
1
// ==UserScript==
2
// @name Doc: View Trades
3
// @namespace https://politicsandwar.com/nation/id=19818
4
-// @version 6.92
+// @version 6.93
5
// @description Make Trading on the market Better!
6
// @author BlackAsLight
7
// @include https://politicsandwar.com/index.php?id=26*
@@ -448,6 +448,10 @@ function UpdateQuantities() {
448
}
449
450
function CreateRow(tdTags) {
451
+ const internalMarketTrade = tdTags[1].querySelector('span[title*="This trade from your shared alliance market"]')
452
+ if (internalMarketTrade) {
453
+ return
454
+ }
455
const sellerWanted = tdTags[1].textContent === 'SELLER WANTED'
456
const buyerWanted = tdTags[2].textContent === 'BUYER WANTED'
457
const offerType = (() => {
0 commit comments