diff --git a/jetbra-agent/src/main/java/win/novice/li/AgentMain.java b/jetbra-agent/src/main/java/win/novice/li/AgentMain.java index 9b28fae..a6e112c 100644 --- a/jetbra-agent/src/main/java/win/novice/li/AgentMain.java +++ b/jetbra-agent/src/main/java/win/novice/li/AgentMain.java @@ -18,7 +18,6 @@ public class AgentMain { .on(ElementMatchers.isConstructor().and(ElementMatchers.takesArgument(0, Set.class))))) .asTerminalTransformation() - .type(ElementMatchers.named("sun.net.www.http.HttpClient")) .transform((builder, typeDescription, classLoader, module, protectionDomain) -> builder .visit(Advice.to(HttpClientAdvice.class) diff --git a/jetbra.js b/jetbra.js index fed7af2..483acf2 100644 --- a/jetbra.js +++ b/jetbra.js @@ -1,7 +1,7 @@ // ==UserScript== // @name JetBra // @namespace https://github.com/novice88/jetbra -// @version 3.1 +// @version 3.2 // @license MIT // @description Add a button on the plugin homepage and click to get the plugin activation code // @author novice.li @@ -81,15 +81,15 @@ let addButton = async function () { return; } let data = { - "licenseeName": "Test", - "assigneeName": "novice.li", + "licenseeName": "reborn", + "assigneeName": "reborn", "assigneeEmail": "", "licenseRestriction": "", "checkConcurrentUse": false, "products": [{ "code": pluginDetail.purchaseInfo.productCode, - "fallbackDate": "2099-12-30", - "paidUpTo": "2099-12-30", + "fallbackDate": "2026-12-30", + "paidUpTo": "2026-12-30", "extended": false }], "metadata": "0120230102PPAA013009",