我正在尝试销售我的Chrome扩展程序。我有manifest.json,background.js,popup html和另外一个js文件。
我到处都在研究如何找到销售此产品的方法,但我发现的唯一来源是包含此代码:
(function() { var f=this,g=function(a,d){var c=a.split("."),b=window||f;c[0]in b||!b.execScript||b.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===d?b=b[e]?b[e]:b[e]={}:b[e]=d};var h=function(a){var d=chrome.runtime.connect("nmmhkkegccagdldgiimedpiccmgmieda",{}),c=!1;d.onMessage.addListener(function(b){c=!0;"response"in b&&!("errorType"in b.response)?a.success&&a.success(b):a.failure&&a.failure(b)});d.onDisconnect.addListener(function(){!c&&a.failure&&a.failure({request:{},response:{errorType:"INTERNAL_SERVER_ERROR"}})});d.postMessage(a)};g("google.payments.inapp.buy",function(a){a.method="buy";h(a)});
g("google.payments.inapp.consumePurchase",function(a){a.method="consumePurchase";h(a)});g("google.payments.inapp.getPurchases",function(a){a.method="getPurchases";h(a)});g("google.payments.inapp.getSkuDetails",function(a){a.method="getSkuDetails";h(a)}); })();
...但是,他们还没有告诉我 包含它。
我是否将其包含在单独的js文件中?
我创建了一个商家帐户,我找不到任何方法来销售它。它已作为免费扩展程序在扩展程序chrome商店中发布,但是当我将设置更改为"付费扩展程序"在Chrome商店,它说它不可用。
我需要知道一些秘密设置吗?