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.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Harvy Liu
Dagelijks aantal installaties
0
Totaal aantal installaties
2
Beoordelingen
0 0 0
Versie
0.0.1.20260122135937
Gemaakt op
22-01-2026
Bijgewerkt op
22-01-2026
Grootte
1,81 KB
Licentie
MIT
Wordt toegepast op

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!