
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
if-wolftrack
Advanced tools
原名wolf-logger 更名为wolf-track
if-ua, if-spm
在调用程序前请先配置该设置
window.WolfConfig = {
spm: { a: "default", b: "main" },
pv: {
where_to_sendpv: "//xiaoheizhang.cn/prod.gif",
where_to_record: '//127.0.0.1/a.gif',
PV_TO_URLS: [
["127.0.0.1", "local"],
["localhost", "local"],
["dev", "dev"],
["test", "test"],
["uat", "uat"],
],
},
}
<script>
var SITE_APP_ID = 'P011'
var LOGSITE = '埋点数据接收地址'
var WolfConfig = { spm: { a: SITE_APP_ID, b: "main" }, pv: { p_id: SITE_APP_ID, application: '4', where_to_sendpv: LOGSITE[0]}, is_auto_pv: true, spa: true };
(function () {
var wf = document.createElement("script");
wf.src = "//if-fe-assets.oss-cn-beijing.aliyuncs.com/pkg/if-wolftrack/1.0.2/if-wolftrack.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
const wolf = new WolfTrack()
发送PV信息
const config = {
method: 'POST'
}, data = {foo: 'Hi,World'}
wolf.sendPV(config, data)
主动上报
const data = {foo: 'Hi,World'}
wolf.record(data)
FAQs
We found that if-wolftrack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.