package jsruntime import "log" func (jr *JsRuntime) EnableCookieFun() { jr.runtime.Set("setInterval", func() { log.Println("禁用setInterval") }) }