This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Highlight Link Reference Issue | |
// @match https://fiu.instructure.com/* | |
// @exclude https://fiu.instructure.com/courses/*/link_validator | |
// @exclude https://fiu.instructure.com/courses | |
// @exclude https://fiu.instructure.com/courses/*/content_migrations | |
// ==/UserScript== | |
let blackboardLinks = document.querySelectorAll('#content_listContainer a'); | |
let canvasLinks = document.querySelectorAll('#content a'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moduleItem = document.querySelectorAll('.external_url'); | |
for(let item of moduleItem) { | |
let editLink = item.querySelector('.edit_item_link'); | |
editLink.click(); | |
let newWindowCheckbox = document.querySelector('#content_tag_new_tab'); | |
newWindowCheckbox.checked = true; | |
let submitButton = document.querySelector('.button_type_submit'); | |
submitButton.click(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var destinationCourseId = document.querySelector('a[href*="cpbucket"]').href.split('/')[3]; | |
var copyURL = 'https://fiu.blackboard.com/webapps/blackboard/execute/cp_copy_content?navItem=cp_copy_course&course_id=_89343_1&target=no'; | |
var newWindow = window.open(copyURL, 'GET'); | |
document.addEventListener('DOMContentLoaded', function() { | |
// Edit options below as needed | |
newWindow.document.getElementById('destinationCourseId').value = destinationCourseId; | |
newWindow.document.getElementById('copyLinkToCourseFiles').checked = true; | |
newWindow.document.getElementById('toc_1567112_1_id').click(); | |
newWindow.document.getElementById('selectCourse').submit(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Turnitin Date Picker Hotkeys | |
// @namespace https://github.com/tidusx18 | |
// @version 0.0.1 | |
// @description Adds action for "Arrow Left and Right" hotkey to go back and forward a month in Turnitin's date picker. | |
// @match https://api.turnitin.com/t_modify_assignment.asp?* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide CreatorPro Dates | |
// @namespace http://github.com/tidusx18 | |
// @version 0.1 | |
// @description Hides unwanted dates in CreatorPro search page's date dropdown. | |
// @match https://cp.fiu.edu/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Load Turnitin Source | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @match https://fiu.blackboard.com/webapps/turn-plgnhndl-BBLEARN/content/modify.jsp?* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function replaceDates() { | |
var oldString = /<p>Module available from.+<\/p>/igm; | |
// var oldString = /<p>Module available from.+<\/p>|<p>.+Module available from.+<\/p>/igm; | |
var newString = ''; | |
var cpCalendarDates = document.querySelectorAll('.generic_table.cke_show_border tbody tr > td:first-child'); | |
console.log(cpCalendarDates); | |
for(let date of cpCalendarDates) { | |
console.log(date.innerHTML); | |
if(date.innerHTML.toLowerCase().includes('week 2')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Submit/Save Hotkey (Ctrl + s) | |
// @namespace https://github.com/tidusx18 | |
// @version 0.0.1 | |
// @description Overrides browser default action for "Ctrl + s" hotkey to submit/save the current form/page. | |
// @author You | |
// @match https://fiu.blackboard.com/* | |
// @match https://cp.fiu.edu/* | |
// @grant none | |
// ==/UserScript== |
NewerOlder