Skip to content

Instantly share code, notes, and snippets.

@nperez0111
Last active August 18, 2023 17:58
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nperez0111/ad6386b268fa674055eb60debb368e01 to your computer and use it in GitHub Desktop.
Save nperez0111/ad6386b268fa674055eb60debb368e01 to your computer and use it in GitHub Desktop.
How to skip through Everfi Courses

How To Skip Through EverFi Courses

To skip through EverFi courses you will need to be able to open developer tools in Chrome

  • This is done by right clicking on some part of the page and going to inspect

Skipping videos

EverFi wants you to actually watch entire videos through so what you have to do is disable the audio of the video

Skipping Activities

Now this is the fun part:

  1. go to the inspector
  2. find the console window
  3. Paste in $(".audiouiblock")[0].remove()
  4. That's all

Now the annoying "What's the rush" BS won't come up anymore and you can just quickly click through the activity.

http://nickthesick.com/randomFiles/everfi.gif

@ivyrion
Copy link

ivyrion commented Apr 7, 2017

null reference comes up

@ivyrion
Copy link

ivyrion commented Apr 7, 2017

doesn't work

@ivyrion
Copy link

ivyrion commented Apr 7, 2017

Unable to get property 'remove' of undefined or null reference

@prodbyanti
Copy link

You are an absolute saint, everyone that reads this should bow down, i did an entire semester of this shit in 1 hour with your help, thank you so much whoever published this.

@MrOats
Copy link

MrOats commented Apr 20, 2017

I'm getting a TypeError: $(...)[0] is undefined error.

@MrOats
Copy link

MrOats commented Apr 21, 2017

I think the same-origin policy is kicking in. Getting a permission denied to access "document" within the iframe thats loaded, which is where the audiouiblock is.

You can however manually delete the element with a DOM Inspector...

@MrOats
Copy link

MrOats commented Apr 21, 2017

You're going to have to run these two lines (only works on Firefox as far as I am aware, cause of cd):

cd(document.getElementsByClassName("iframe_div course-div")[0]);
$('.audiouiblock')[0].remove();

@MrOats
Copy link

MrOats commented Apr 28, 2017

@peyton2465, yeah that's what I have been doing now. Wanted a way to script it and maybe continuously block it.

Edit: Chromium doesn't have the cross-origin issue. So the original code works just fine, therefore one could possibl set an interval to continuously delete the audiouiblock div element.

@Gavitro
Copy link

Gavitro commented Apr 28, 2017

This does not seem to work on Chrome anymore, as there is now an undefined aspect of it.

What a shame, because this method cut the time it takes to complete a module in half and made it far less annoying.

@viguar18
Copy link

They fixed the properties of the audio block to be uneditable. . . but they couldn't fix the how the title pieces overlap on the top of the page. Nice.

@MrOats
Copy link

MrOats commented Nov 29, 2017

Still seems to work as of this comment (manual delete method)

@JaredBledsoe
Copy link

Open inspect element -> click console -> click the dropdown that says "top" -> select "index.html" from the list -> paste this script -> hit SPACE on each page you want it to run on.

Each time you hit space it'll remove the audio message, and it will show you the correct answers for the different buttons, markers, etc. so you just have to click them.

alert("Script running, close Inspect Element now. Press SPACE on each page to remove audio message and click most buttons for you."),window.addEventListener("keydown",function(o){if(32==o.keyCode){if(console.log(o.keyCode),$(".audiouiblock")[0]&&(console.log("audio"),$(".audiouiblock")[0].remove()),$(".button")[6]){console.log("button");for(e=0;e<$(".button.").length;e++)$(".button")[e].classList.add("selected")}if($(".popup")){console.log("marker");for(e=0;e&lt;$(".popup").length;e++)$(".popup")[e].classList.add("selected")}if($(".answer")){console.log("answer");for(var e=0;e&lt;$(".answer").length;e++)$(".answer")[e].classList.add("selected")}}});

Copy link

ghost commented Dec 14, 2017

Here is the javascript code to skip courses. You must paste this in place of the javascript for the forward button every time you click forward. Feel free to automate it.: <button id="forward_button" name="forward" aria-label="forward" title="forward" style="opacity: 1; cursor: pointer;"></button>

Copy link

ghost commented Dec 14, 2017

edit the forward button by right clicking and inspect element and click edit as html and delete everything and paste the code above.

@zmancroz
Copy link

To skip videos just change the vide quality then click on the end of the video and it should jump to the end.

@MountOlive1
Copy link

Here's a script that works for google chrome. Copy and paste this script into the console in inspect element.

alert("Script running, close Inspect Element now. Press SPACE on each page to remove audio message and click most buttons for you."),window.addEventListener("keydown",function(o){if(32==o.keyCode){if(console.log(o.keyCode),$(".audiouiblock")[0]&&(console.log("audio"),$(".audiouiblock")[0].remove()),$(".button")[6]){console.log("button");for(e=0;e<$(".button.").length;e++)$(".button")[e].classList.add("selected")}if($(".popup")){console.log("marker");for(e=0;e&lt;$(".popup").length;e++)$(".popup")[e].classList.add("selected")}if($(".answer")){console.log("answer");for(var e=0;e&lt;$(".answer").length;e++)$(".answer")[e].classList.add("selected")}}});

After that a message will popup, press okay and close inspect element then you can skip through every question without having to listen to audio and when the bullshit "Whats the rush" message pops up all you have to do is press space each time it does that and then press the arrow. To skip the videos hold and drag the slider all the way to the end of the video and hold it until the arrow pops up and quickly press the arrow. Hope this helps.

@ENGR102Review
Copy link

ENGR102Review commented Aug 13, 2019

As of Aug. 12, 2019, None of the scripts pasted here work on the EverFi I'm using.

I never got the 'What's the Rush' message, but I do have to sit through some boringly long videos that you can't skip.
The video controls bar has a static (non-scrubbing) progress bar and you can't click 'NEXT' until the video has finished playing. And if you try to switch tabs or windows, the video will automatically stop playing (EverFi forces you to be on the page in order to keep the video playing).
If this sounds like your situation, then you might be in luck.

I'm not sure if there are different versions/formats of EverFi, but nonetheless, I have found a solution to skip EverFi videos if your EverFi video controls bar looks exactly like mine: https://i.imgur.com/H5hNQsw.png
If your video controls bar doesn't look like this, then this script probably won't work.

Instructions:

  1. Open developer console by pressing F12 on Chrome or Firefox. Do not use Internet Explorer. Select the 'Console' tab from the navigation bar. It may already be selected for you.
  2. Paste this script and press enter
    document.getElementsByClassName('bronzeVideo-controls-scrubber ng-isolate-scope ng-hide')[0].className = 'bronzeVideo-controls-scrubber ng-isolate-scope'
  3. The video progress bar that was previously unskippable should turn into a slidable bar that you can use to skip the video.
  4. IMPORTANT: Don't slide the slider all the way to the end. For some reason this causes problems with AngularJS and the 'NEXT' button sometimes doesn't unlock. Instead, slide it almost to the end and watch the last few seconds of the video.

Enjoy!

@adg516
Copy link

adg516 commented Aug 13, 2019

As of Aug. 12, 2019, None of the scripts pasted here work on the EverFi I'm using.

I never got the 'What's the Rush' message, but I do have to sit through some boringly long videos that you can't skip.
The video controls bar has a static (non-scrubbing) progress bar and you can't click 'NEXT' until the video has finished playing. And if you try to switch tabs or windows, the video will automatically stop playing (EverFi forces you to be on the page in order to keep the video playing).
If this sounds like your situation, then you might be in luck.

I'm not sure if there are different versions/formats of EverFi, but nonetheless, I have found a solution to skip EverFi videos if your EverFi video controls bar looks exactly like mine: https://i.imgur.com/H5hNQsw.png
If your video controls bar doesn't look like this, then this script probably won't work.

Instructions:

1. Open developer console by pressing F12 on Chrome or Firefox. Do not use Internet Explorer. Select the 'Console' tab from the navigation bar. It may already be selected for you.

2. Paste this script and press enter
   `document.getElementsByClassName('bronzeVideo-controls-scrubber ng-isolate-scope ng-hide')[0].className = 'bronzeVideo-controls-scrubber ng-isolate-scope'`

3. The video progress bar that was previously unskippable should turn into a slidable bar that you can use to skip the video.

4. **IMPORTANT: Don't slide the slider all the way to the end. For some reason this causes problems with AngularJS and the 'NEXT' button sometimes doesn't unlock. Instead, slide it almost to the end and watch the last few seconds of the video.**

Enjoy!

aite so before you run the script in here, run:

cd(document.getElementsByClassName("iframe_div course-div")[0]);

otherwise you're gonna get a typerror

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment