hjs

package
v0.0.0-...-81a76de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(script string) (goja.Value, error)

Eval javascript执行函数

func GetJsCookie

func GetJsCookie(chars string, bts []string, ct string, ha string, tn string) (string, error)

GetJsCookie 获取js-cookie值

func GetJsCookieOne

func GetJsCookieOne(script string) (string, error)

GetJsCookieOne 获取第一个JsCookie内容,__jsl_clearance

func GetJsCookieTwo

func GetJsCookieTwo(script string) (string, error)

GetJsCookieTwo 获取第二个JsCookie内容,__jsl_clearance

Types

type JsCookieTwoGo

type JsCookieTwoGo struct {
	Bts    []string
	Charts string
	Ct     string
	Ha     string
	Tn     string
	Vt     string
	Wt     string
}

JsCookieTwoGo 加密参数

func GetJsCookieTwoGo

func GetJsCookieTwoGo(script string) *JsCookieTwoGo

GetJsCookieTwoGo 获取JsCookie混淆参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL