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.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
Harvy Liu
Instalaciones diarias
0
Instalaciones totales
2
Calificaciones
0 0 0
Versión
0.0.1.20260122135937
Creado
22/1/2026
Actualizado
22/1/2026
Tamaño
1,81 KB
Licencia
MIT
Funciona en

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!