A Tampermonkey userscript that adds convenient copy buttons to test cases on Code PTIT platform.
- Adds "Copy Input" and "Copy Output" buttons to test cases
- Clean formatting of copied text
- Visual feedback when copying
- Automatic newline handling
- Install the Tampermonkey extension for your browser
- Click on the Tampermonkey icon and select "Create a new script"
- Delete any existing code and paste the entire content of
fast_cpy_by_dngphuu.js - Save the script (Ctrl+S or File -> Save)
- dngphuu
This script is inspired by and adapted from the GDSC Code copy script created by TAnh. Special thanks for the original implementation that served as a foundation for this version.