lebalusch, on 12 June 2014 - 10:47 AM, said:
Hi Mikk809h,
Didn't realise you could white list sites or black list them. I am testing on my own real life laptop. in single player , using FTB monster. when i test your scripts i lay a new computercraft block (gold) so shouldn't be a problem. maybe if you add some code to make a point of white listing it before you try to go to the site this might help. but i have had your script working before you made the big changes. Was you using that HTTP call before the big changes if so its not that being a problem. but i do think you should code in white listing the site before calling it.
p.s how do you do these spoilers. they save on loads of space in comments.
Well, All my HTTP calls have had this feature, and they access the timeanddate.com webpage. Maybe its because you updated to newest version of cc?
Then youj forgot to add www.timeanddate.*
And as KingofGamesYami said:
KingofGamesYami, on 12 June 2014 - 01:31 PM, said:
You cannot whitelist a site from code. It has to be done manually in the config. This was added in the CC 1.63 update, before which http was simply true (enabled) or false (disabled).
And i dont think it would be a great idea, to allow programs to whiltelist webpages themselfes, since that could cause a program to acces a malicious webpage ( thats an example )
But I dont quite know how to detect if certain webpages are whitelisted or not.. Maybe someone can point out the whitelist detection code?
Thanks