setAllowsURIAccess: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
|also= | |also= | ||
{{func|getAllowsURIAccess}} [[Library Tokens]] | {{func|getAllowsURIAccess}} <br> | ||
[[Library Tokens]] | |||
}} | }} | ||
[[Category:Miscellaneous Function]] | [[Category:Miscellaneous Function]] |
Revision as of 13:15, 19 September 2021
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
getAllowsURIAccess(value)
getAllowsURIAccess(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.