![]() | |
Description | Allows users to view source of a page. |
---|---|
Author(s) | — fr + 06:35, 26 October 2018 (UTC) |
Status | Beta |
Updated | See history |
Skin support |
|
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:FR30799386. It is inspired from this thread.
Quick and easy installation
If you have installed ScriptInstaller, go to this page and click Install. Otherwise,
- Open Special:MyPage/common.js
- Add
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:FR30799386/readonly.js&action=raw&ctype=text/javascript');
- Bypass your cache(if needed)
How to use the script
The 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.