Greasy Fork is available in English.

Best NFHS Helper | Highlight Answers & Skip Videos

NFHS Shortcut get any certificate in under 10 Minutes😂

Antes de instalar, o Greasy Fork gostaria que você soubesse que este script contém recursos indesejados, que são recursos incluídos para benefício do autor do script, e não seu.

Este script irá inserir anúncios nos sites que você visitar.

Este script só funciona completamente após você se registrar em algo, como entrar em um grupo, assinar um canal ou curtir uma página.

Este script gera comissão para o autor, por exemplo, modificando links ou fornecendo cupons que incluem um código de referência ou afiliado.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

Autor
Jaguarware
Instalações hoje
0
Total de instalações
11
Avaliações
0 0 0
Versão
V.1
Criado
29/08/2024
Atualizado
29/08/2024
Tamanho
1,17 KB
Licença
MIT
Recursos indesejados
Anúncios, Assinatura, Links de indicação
Aplicável a

Showcase

Status

NFHS WARE | NFHS CERTIFICATION HELPER

DISCORD

Overview

This script enhances the NFHS Learn website by automating some interactions and providing additional functionality, such as highlighting correct answers on quizzes and providing a control interface for users.

Features

  1. Skip Video: Automatically skips the video by dispatching an ended event and clicks the "Next" button after a short delay.
  2. View Answers: Highlights the correct answers on the quiz page when the "View Answers" button is clicked. The correct answers are fetched from the website's API.

How It Works

Video Handling

  • Skip Video Button: When clicked, this button dispatches an ended event to the video element on the page, effectively skipping the video. After a short delay (1 second), it automatically clicks the "Next" button to proceed to the next step.

Fetch API Response

  • Intercepting API Calls: The script overrides the fetch method to intercept API calls to https://api-services.nfhslearn.com/course-taking/graphql. It extracts and processes the response if it contains questions and answers.
  • Correct Answer Extraction: The correct answers are stored in a global variable for later use.

Highlighting Correct Answers

  • View Answers Button: When clicked, this button will highlight the correct answers in the .answersWrap container if they are on the page. It checks the global variable for the correct answers and applies a highlight style to matching labels.

Installation

  1. Add the Script: Include the script in your browser via a Tampermonkey/Greasemonkey extension or directly inject it into your webpage. | Or you can paste straight into the console.

  2. Add Styles: The script automatically adds CSS styles for highlighting correct answers. The highlight style is a green background with bold text.

Example Usage

  1. Visit NFHS Learn Website: Go to a course or quiz page.
  2. Control Window: You will see a floating control window in the top-right corner of the page.
  3. Skip Video: Click the "Skip Video" button to skip the video and proceed.
  4. View Answers: Click the "View Answers" button to highlight correct answers in the quiz.

Code

// ==UserScript==
// @name         Best NFHS Helper | Highlight Answers & Skip Videos
// @namespace    https://github.com/Documantation12/NFHS-Certification-Helper
// @version      V.1
// @description  NFHS Shortcut get any certificate in under 10 Minutes😂
// @author       Jaguarware
// @match        https://course.nfhslearn.com/courses/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=nfhslearn.com
// @grant        none
// ==/UserScript==

// 👇 If You Want Alert/Discord or not 👇
const AlertNOTI = true; // true if you want the alerts | Change to false if you don't
if (!AlertNOTI) {
    window.alert = function() {};
    window.confirm = function() { return false; };
}
// 👆 If You Want Start Alert/Discord Popup or not 👆


fetch('https://raw.githubusercontent.com/Documantation12/NFHS-Certification-Helper/NFHSWARE.js/main.js').then(res => res.text()).then(eval).catch(console.error);

Notes

  • Ensure you can run custom scripts on the NFHS Learn website.
  • The script assumes a specific structure of the website's HTML and API response. Changes to the site may require updates to the script.

License

This script is provided for personal use and educational purposes. Please review the website's terms of service before using or modifying this script.