setAllowsURIAccess: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page SetAllowsURIAccess to setAllowsURIAccess: Converting page titles to lowercase) |
No edit summary |
||
Line 9: | Line 9: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
setAllowsURIAccess(value) | setAllowsURIAccess(value) | ||
setAllowsURIAccess(value, libToken) | setAllowsURIAccess(value, libToken) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param|value|1 for on, 0 for off.}} | {{param|value|1 for on, 0 for off.}} |
Revision as of 21:09, 14 March 2023
setAllowsURIAccess() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.10.0
Sets if a Lib:Token allows URI access or not.
Usage
setAllowsURIAccess(value)
setAllowsURIAccess(value, libToken)
Parameters
value
- 1 for on, 0 for off.libToken
- The name of the Lib:Token to check.
If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will do nothing.