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.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
Harvy Liu
Installazioni giornaliere
0
Installazioni totali
2
Valutazione
0 0 0
Versione
0.0.1.20260122135937
Creato il
22/01/2026
Aggiornato il
22/01/2026
Dimensione
1,81 KB
Licenza
MIT
Applica a

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!