Code Injector for sssh coding platform

A script to insert code via a small window into the sssh computer science platform code editor where in most of times copy and paste are restricted.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tekijä
Harvy Liu
Päivittäiset asennukset
0
Asennuskerrat
2
Arvostelut
0 0 0
Versio
0.0.1.20260122135937
Luotu
22.1.2026
Päivitetty
22.1.2026
Size
1,81 kt
Lisenssi
MIT
Käytössä

Ace Editor Logic Injector (SSSH Edition)

Stop fighting with copy-paste restrictions! This script is designed specifically for students using the Ace Editor on educational platforms only in course.sssh.tp.edu.tw. It adds a floating "Control Panel" to your screen that allows you to bypass blocked paste events by injecting code directly into the editor's API.


Features

  • Persistent UI: A sleek, dark-mode floating box that stays on your screen even after page refreshes.
  • Direct API Injection: Uses the ace.setValue() method to bypass JavaScript onpaste blocks and "Trusted Event" checks.
  • Zero-Lag: Highly optimized script that only activates on the target code editor.
  • Code Preservation: Correctly handles multi-line indentation for C++, Python, and Java.

How to Use

  1. Navigate to your assignment or programming task page.
  2. Paste your code into the "Paste your C++ code here..." text area in the floating box at the top-right.
  3. Click "Inject to Editor".
  4. Your code will instantly appear in the official assignment box, perfectly formatted and ready for submission!

Why this works

Many educational sites use Ace Editor, which captures keyboard events to prevent pasting. Standard "Enable Right Click" extensions often fail because the editor isn't a standard text box. This script works by communicating directly with the editor's "brain" (the JavaScript Object), making the injection invisible to the site's restriction listeners.


Note: For educational purposes only. Make sure you understand the code you are injecting! Also, this script is mostly AI-generated; only the core idea of how it works was thought by man, so it may contain mistakes and bugs. Keep this in mind and use with caution!