(vs)
| 2588 | }; |
| 2589 | |
| 2590 | const verInt = function (vs) { |
| 2591 | const vl = vs.split("."); |
| 2592 | let vi = 0; |
| 2593 | for (let i = 0; i < vl.length && i < 3; i++) { |
| 2594 | vi += parseInt(vl[i]) * 1000 ** (2 - i); |
| 2595 | } |
| 2596 | return vi; |
| 2597 | }; |
| 2598 | |
| 2599 | const checkForUpdates = function (action = "click") { |
| 2600 | const downloadURL = `https://raw.githubusercontent.com/xcanwin/KeepChatGPT/main/KeepChatGPT.user.js`; |