How to Copy Paste In SkillRack

How to Copy Paste In SkillRack

Many Educational Institutions use the coding platform — Skillrack in order to train the students and test them in the areas of problem solving and language proficiency. SkillRack provides management tools track students’ progress, including the number of completed courses and challenges. It also allows scheduling tests for students with progress tracking.

How the system in skillrack usually works?

SkillRack typically doesn’t allow a user to paste things inside the codeblock. During tests, it even tracks tab/window movements thus whenever a tab change or window change is performed during a test, the skillrack page will automatically log out , displaying a warning message while taking the test again. This can occur up to two times, and after the third time, the account will be prohibited from attending the test.

Workaround for navigating out of the window without detection during test

This can be done using a simple trick that most users are likely familiar with. After entering the key provided by the institution for attending the test, the problem statement will be displayed on the left side, while the right portion asks for the captcha value. Full-screen mode is enabled as soon as the user enters the captcha value. It is observed that navigation movements are tracked only in full-screen mode. Hence, one can easily copy the problem statement when the captcha is not entered, then switch tabs or windows, paste the problem statement in language models like ChatGPT, Bard, etc., and find the answers to the problem.

How to Paste the Copied Code in the Code Area?

Let’s be honest — finding solutions to coding problems online is the easy part. The real challenge? Manually typing out entire blocks of code while squinting at another screen or frantically switching between devices. Sound familiar? With educational institutions breathing down students’ necks to hit those problem-solving quotas, who hasn’t secretly wished for a magical “paste” button to make life easier?

Important: If you’re genuinely using SkillRack to learn and sharpen your coding skills, please stick to the traditional approach — no shortcuts, no workarounds. The struggle is part of the learning process, and you’ll thank yourself later.

However, if you’re here purely for the numbers game (we’ve all been there), then don’t worry — I’ve got your back! The step-by-step guide below will show you exactly how to make that elusive paste function work, turning your copy-paste dreams into reality.

Step 1: Install Firefox Browser

For Windows Users:

For Ubuntu/Debian-based Linux:

sudo apt install firefox

For Fedora/RedHat-based Linux:

sudo dnf install firefox

Step 2: Disable the DOM Clipboard events

  1. Open Firefox and launch a new tab

captionless image

2. Type about:config in the address bar and press Enter

Click Accept the Risk and Continue

3. Accept the warning by clicking “Accept the Risk and Continue”

4. Search for

dom.event.clipboardevents.enabled

5. Toggle the value from True to False by double-clicking the preference

6. Verify that the value now shows False

captionless image

Step 3: Access SkillRack and Select a Problem

captionless image

Step 4: Prepare Your Solution

  1. Find or write your code solution using your preferred IDE or text editor
  2. Copy the complete solution to your clipboard (Ctrl+C)
  3. Count the approximate character length of your solution

Step 5: Enter Random Characters in SkillRack’s Code Editor

This step is essential for the workaround to function properly:

  1. Click in the SkillRack code editor area
  2. Type random characters roughly equal to your solution’s length
    • If your solution is ~200 characters, type approximately 200 random characters
    • Tip: Use a mix of letters, numbers, and symbols
    • Example: asdfghjklqwertyuiopzxcvbnm123456789...
  3. Type more characters rather than fewer — this increases success rate
public class Hello {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

Type about 120–150 random characters in the editor.

captionless image

Step 6 : Paste your Code

  1. Select all text in the code editor using Ctrl+A
  2. Right-click to open the context menu
  3. Click “Paste” from the menu
  4. Your actual code should replace the random characters

If pasting doesn’t work on the first try:

  • Add more random characters (aim for 1.5x your solution length)
  • Try again with Ctrl+A → Right-click → Paste
  • Alternatively, try Ctrl+V directly after selecting all text

captionless image

WARNING: Pasting the contents during a test might show malpractice at times

Output :

captionless image

The content is pasted now thus making the job easier

Alternative Methods and Tools

While the Firefox method is most reliable, other approaches exist:

  1. Browser Extensions: Some extensions like “Don’t F*ck with Paste” work in Chrome
  2. Console Scripts: JavaScript console commands can simulate typing
  3. Browser Developer Tools: Advanced users can manipulate DOM elements directly

Note: These alternatives may be less reliable and could require frequent updates.

Understanding Browser Security Settings

When you modify dom.event.clipboardevents.enabled, you're changing how Firefox handles clipboard interactions:

  • Normal Behavior: Websites can detect and potentially block clipboard operations
  • Modified Behavior: Websites cannot interfere with copy-paste actions
  • Security Impact: Minimal risk for general browsing, but some web applications may function differently

I’LL ADD VIDEO DEMOS BELOW FOR PEOPLE WHO NEED THE VIDOE CONTENT

Disabling Clipboard Events in Firefox

For any support and queries contact me at abijith.balaji@gmail.com

Reference: https://vitspot.com/posts/enable-copy-paste-in-skillrack/