Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CourseMenuItemDelete
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icommonsCRC
CourseMenuItemDelete
Commits
06f1529c
Unverified
Commit
06f1529c
authored
2 years ago
by
icommonsCRC
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
1905af1a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+22
-1
22 additions, 1 deletion
README.md
with
22 additions
and
1 deletion
README.md
+
22
−
1
View file @
06f1529c
# CourseMenuItemDelete
\ No newline at end of file
# CourseMenuItemDelete
Author: Jacky Huang
Description: The purpose of these bookmarklets is to delete specific Bblearn course menu items (i.e. Discord Info for CCI)
Local Setup:
1.
Download the javascript files
2.
Save each as bookmarks in your preferred browser
3.
For each bookmarklet:
1.
Open up the file and copy its script
2.
In the bookmarks bar, right-click on the bookmarklet > Click Edit
3.
Paste the script in the URL/address field > Click Save
4.
Open up the course section in the FULL PAGE VIEW. Scripts do not work with the slider view because the sidebar is iframed in.
*
One way is to open the course in a new tab
5.
Make sure the course has sidebar showing and has content areas to be removed (i.e. Discord Info for CCI)
7.
Click del_discord script once to focus, then click once more for popup
8.
Click del_content_xpath script
9.
Click final_del_xpath script
*
Different content areas can be deleted by changing the 'menuitem' variable inside of the del_discord/del_echo scripts
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment