CodePTIT Copier

Script CodePTIT Copier. Xóa dòng trống thừa khi copy Testcase. Tạo nút Copy nhanh Testcase và Mã bài_Tên bài đã Xóa dấu tiếng việt cùng khoảng trắng trên CodePTIT (cả phiên bản cũ và mới)

Stan na 25-05-2025. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
nvbangg
Oceny
0 0 0
Wersja
1.1
Utworzono
15-05-2025
Zaktualizowano
25-05-2025
Rozmiar
12,4 KB
Licencja
MIT
Dotyczy

CodePTIT Copier

Script CodePTIT Copier. Xóa dòng trống thừa khi copy Testcase. Tạo nút Copy nhanh Testcase và Mã bài_Tên bài đã Xóa dấu tiếng việt cùng khoảng trắng trên CodePTIT (cả phiên bản cũ và mới)

TÍNH NĂNG:

  • Xóa dòng trống thừa khi copy nội dung trong Testcase (khi copy thuần lẫn nhấn nút copy nhanh)
  • Tạo nút Copy nhanh Testcase trên CodePTIT (cả phiên bản cũ và mới)
  • Tạo nút Copy nhanh Mã bài_Tên bài đã Xóa dấu tiếng việt cùng khoảng trắng kèm đuôi tùy chỉnh.
    • Ví dụ với mã bài DSA06027, tên bài là SẮP XẾP ĐỔI CHỖ TRỰC TIẾP - LIỆT KÊ NGƯỢC
    • Nội dung sẽ copy được là: DSA06027_SapXepDoiChoTrucTiep-LietKeNguoc.cpp
    • Giúp thuận tiện đặt tên và lưu file nhanh chóng

CÁCH CÀI ĐẶT:

star

Visitors

DEMO

image

  • Ở ví dụ trên, nếu copy bình thường sẽ bị lỗi dòng trống thừa, gây lỗi khi chạy testcase
Buoc 5: 1 3 4 5 8 9

Buoc 4: 1 3 4 5 9 8

Buoc 3: 1 3 4 9 8 5

Buoc 2: 1 3 8 9 5 4

Buoc 1: 1 8 5 9 3 4
  • Còn nếu dùng script thì nội dung khi copy sẽ được là:
Buoc 5: 1 3 4 5 8 9
Buoc 4: 1 3 4 5 9 8
Buoc 3: 1 3 4 9 8 5
Buoc 2: 1 3 8 9 5 4
Buoc 1: 1 8 5 9 3 4

SETTINGS

  • Mở settings bằng cách: Nhấn vào Tampermonkey (hoặc click chuột phải) khi ở trang https://code.ptit.edu.vn, sau đó nhấn vào mục Settings trong mục CodePTIT Copier

image