mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 04:27:15 +03:00
Add option to disable $ link
This commit is contained in:
9
src/help.ts
Normal file
9
src/help.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { showDonationLink } from "./utils/configUtils";
|
||||
|
||||
window.addEventListener('DOMContentLoaded', init);
|
||||
|
||||
async function init() {
|
||||
if (!showDonationLink()) {
|
||||
document.getElementById("sbDonate").style.display = "none";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user