Skip to content

Instantly share code, notes, and snippets.

@nimitbhargava
Last active February 16, 2018 13:11
Show Gist options
  • Save nimitbhargava/fcb1278904987ffcdd07cec295f02b82 to your computer and use it in GitHub Desktop.
Save nimitbhargava/fcb1278904987ffcdd07cec295f02b82 to your computer and use it in GitHub Desktop.
Udacity Courses Catalog - `new` filter
$('div[data-course-summaries] div[data-course-summary]').each(function () {
var card = $(this);
var courseID = card.attr('id');
var coursePublished = $('#'+courseID+' .col-sm-9 .row .col-sm-8 .h-slim .badges .badge').data('cloak') === "" ? "old" : "new";
if(coursePublished === "old") card.css("display","none");
});
@nimitbhargava
Copy link
Author

nimitbhargava commented Dec 7, 2017

You can use the above jQuery script at https://www.udacity.com/courses/all to filter only the new courses/nano degrees

@nimitbhargava
Copy link
Author

nimitbhargava commented Dec 7, 2017

Problem - There are no new filter on courses at Udacity Catalog site

image

Solution - Entering the jQuery script into the console shows up only new courses/nano degrees

image

@nimitbhargava
Copy link
Author

This script seems to be broken as of today. If anyone wants to use. Please let me know so that I can update this on priority :)

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