Add user agent to player
This commit is contained in:
1 parent
405e1aa703
commit
9c7de8f41f
1 file changed
+3
@@ -44,6 +44,9 @@ function Init()
|
||||
if m.top.hasField("asyncStopSemantics")
|
||||
m.top.asyncStopSemantics = true
|
||||
end if
|
||||
|
||||
httpAgent = m.top.getHttpAgent()
|
||||
httpAgent.AddHeader("User-Agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0")
|
||||
end function
|
||||
|
||||
function OnNodeReady()
|
||||
|
||||
Reference in new issue
Block a user