This script is currently beta software. It is still new and should be used with some caution to ensure the results are as expected. Please report any problems encountered at the script maintainers talk page. |
Description | Allows users to view source of a page. |
---|---|
Status | Beta |
Updated | See history |
Skins |
|
Source | Readonly.js |
Readonly.js(source) is a script which allows a user to view the source code of a page without the risk of accidentally clicking Publish Changes. The script is still in its infancy and thus may contains bugs. All feature requests, bug reports should be done at User talk:DannyS712. It is inspired from this thread.
How to use the script
editThe script will add a link Forced view source to your tool box. Clicking on it will take you to the edit-box albeit in veiw source mode. You can then examine the source code without the fear of accidentally Publishing anything.
- Importation
This script can be imported to skin.js or common.js by adding:
importScript('User:DannyS712/Readonly.js'); // [[User:DannyS712/Readonly.js]]
or
{{subst:Iusc|User:DannyS712/Readonly.js}}