Welcome
httpaccess
0.0.0.7
This plugin will let you block websites on your computer, this plugin will enable to you register a domain for blocking and also unregister if and when you don't want to block that domain.
Free for Freeware and opensource only please contact me for payware options.
Gremlin
www.thinkcritical.co.uk
mothersaysno@thinkcritical.co.uk
Autoplay Media Studios 8 Free/Pro
Windows XP,Vista & 7 32/64 bit
(MUST) Adminstration enabled on the project.
some free time to make a project.
thinkcritical 2011
Install this plugin in to your Autoplay Media Studios folder under plugins then actions.
Once installed you can access the plugin from the Project menu - > Plugins
(boolean) httpaccess.register ( | (string) url, (boolean) record = false ) |
Register a domain to the block list
Note: Don't include the http:// or www
(string) The url you like to block without the http:// or www
(boolean) This function will record the errors to the access.txt file in the users documents, good for debuging
(boolean) This will return true if the domain was registed, you can also check to make sure with httpaccess.check. If it does not register the domain it will return false.
Meg = Dialog.Input("Block:", "Domain to block, please leave off the http:// and www, we do all this for you.", "", MB_ICONINFORMATION);
httpaccess.register(Meg);
httpaccess.unregister ( | (string) url, (boolean) record = false ) |
Unregister a domain to the block list
Note: Don't include the http:// or www
(string) The url you like to unblock without the http:// or www
(boolean) This function will record the errors to the access.txt file in the users documents, good for debuging
This action dose not return any value.
Meg = Dialog.Input("Unblock:", "Domain to unblock, please leave off the http:// and www, we do all this for you.", "", MB_ICONINFORMATION);
httpaccess.unregister(Meg);
httpaccess.dialect ( | (string) path = "default" ) |
Enabled you to set the dealect for the end user errors
Note: This is for only the end user errors not dev user errors
(string) The path to the Dialect file.
Note: if nil, or not able to find this will default back to the plugins dialect, view access.txt ito see if a error like this as happened.
This action dose not return any value.
httpaccess.dialect(_SourceFolder.."\\AutoPlay\\Dialects\\ES-Dialect.lua");
Exampled Files:
_RegistationTitle = 'registro';
_UnregistationTitle = 'anular el registro de';
_AdminAccessTitle = 'Acceso';
_RegistationMsg = 'Error de registro: No URL.';
_UnregistationMsg = 'Anular el registro de error: No URL.';
_AdminAccessMsg = 'Por favor, ejecutar este programa con derechos Administrativos.';
(boolean) httpaccess.check ( | (string) URL ) |
Check if a domain is registered as blocked with this plugin
Note: Don't inclulde the http:// or www.
(string) The URL without the http:// or www
Note: Don't include the http:// or www
(boolean) This will return true if the domain is registed by this plugin false if its not, this will not interfear with other systems.
SiteURL = 'nourl.com';
if httpaccess.check(SiteURL)then
Dialog.Message('Completed', SiteURL..' was found in your block list.');
else
Dialog.Message('Completed', SiteURL..' was not found in your block list.');
end
thinkcritical 2011
This File Was Generated With AMS ActionFile Editor