Update shared-ip-manager.userscript.js

added text truncation for the Provider column
This commit is contained in:
Ryahn 2025-09-10 00:27:31 +00:00
parent 2a267bcc05
commit a63f074e5f

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Shared IP Manager // @name Shared IP Manager
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 1.1.1 // @version 1.1.2
// @description Transform shared IP overlay into searchable table format // @description Transform shared IP overlay into searchable table format
// @author Ryahn // @author Ryahn
// @match *://*/* // @match *://*/*
@ -296,7 +296,7 @@
<td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; white-space: nowrap;"> <td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; white-space: nowrap;">
<span title="${countryName}" style="color: #374151;">${flagEmoji} ${countryCode}</span> <span title="${countryName}" style="color: #374151;">${flagEmoji} ${countryCode}</span>
</td> </td>
<td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; white-space: nowrap;" title="${providerInfo.asn}"> <td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;" title="${providerInfo.asn}">
<span style="color: #374151;">${providerInfo.name}</span> <span style="color: #374151;">${providerInfo.name}</span>
</td> </td>
<td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; white-space: nowrap;" title="${typeInfo}"> <td style="padding: 10px 12px; border-right: 1px solid #e5e7eb; white-space: nowrap;" title="${typeInfo}">