1lann / Firewolf

A program for ComputerCraft that allows you to visit, create, host and share websites with others. A virtual internet in Minecraft.
MIT License
17 stars 7 forks source link

Antivirus edit #59

Open manumanucraft opened 9 years ago

manumanucraft commented 9 years ago

I think that could be good having (example) firewolf.globalEnvironment() in Lua pages to add global APIs (_G) in it. It should display a warning into client.

It can return bGlobal boolean, that equals true if user accepts or false if user denies. For example.

local ok = firewolf.globalEnvironment()
if ok then
--Global environment ON
else
--Global environtment OFF
end