This userscript automatically converts raw Stack Exchange question URLs into the form
[title](link) before submitting comments by grabbing their titles from the API. This is similar to conversion done natively on posts, and is in response to this Meta request. The script also tries to shorten links where appropriate, stripping out unnecessary URL content to conserve comment characters.
More information can be found in the SECommentLinkHelper section of the README.
Install / Update the script (See the script tag-wiki for installation help.)
View the source
- 2012-12-08: Thanks to feedback from doncherry, various parsing issues are now corrected. Of note is inclusion of proper support for conversion of comment links and
- 2014-01-05: The script will now run under HTTPS, and will correctly handle HTTPS links.
- 2016-09-28: Updated to resolve issue with new jQuery version, switched to use schemeless-links to save characters/be friendly to users using different schemes
The script should work under all major userscript-supporting browsers. Please file a bug if you encounter any issues.
Tim Stone actively maintains this script.
Feedback can be given on GitHub, or by "@lerting" the maintainer on Meta Stack Exchange chat.
To fork the code, please visit the GitHub repository.
x.stackexchange.com/q/31415, it'd be
x.stackexchange.com/q/31415/4746(4746 being your user account number for stackapps).