Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
buy_me_a_coffee: giurrero
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<img src="https://img.shields.io/badge/tracking-none-brightgreen" alt="No tracking">
<img src="https://img.shields.io/badge/dependencies-none-brightgreen" alt="No dependencies">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"></a>
<a href="https://www.buymeacoffee.com/giurrero"><img src="https://img.shields.io/badge/Buy%20me%20a%20coffee-FFDD00?logo=buymeacoffee&logoColor=000" alt="Buy me a coffee"></a>
</p>

![Bookmark Cleaner showing duplicated bookmarks grouped by link, each copy marked Keep or Delete](screenshot.png)
Expand Down Expand Up @@ -105,6 +106,11 @@ the Chrome API, and is tested with node:
node --test
```

## Support

Bookmark Cleaner is free and will stay free. If it saved you some time, you
can [buy me a coffee ☕](https://www.buymeacoffee.com/giurrero) — thank you!

## License

[MIT](LICENSE) © Ruggero Turra
8 changes: 8 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }
code { padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); font-size: 0.9em; }
.coffee { display: inline-block; padding: 12px 22px; border-radius: 10px; background: #FFDD00;
color: #000; font-weight: 600; text-decoration: none; }
.coffee:hover { background: #ffd000; }
footer { margin-top: 64px; padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); text-align: center; font-size: 15px; }
</style>
</head>
Expand Down Expand Up @@ -179,6 +182,11 @@ <h2>Frequently asked questions</h2>
<details><summary>Does it work with synced bookmarks and other browsers?</summary>
<p>It works on all the bookmarks in your Chrome profile, including those synced from other devices. It requires Chrome 104 or later and should also work in other Chromium-based browsers such as Edge and Brave.</p></details>
</section>
<section id="support">
<h2>Support the project</h2>
<p>Bookmark Cleaner is free, open source and without ads. If it saved you some time, you can buy me a coffee — thank you!</p>
<p><a class="coffee" href="https://www.buymeacoffee.com/giurrero">☕ Buy me a coffee</a></p>
</section>
</main>

<footer>
Expand Down
9 changes: 9 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ function emptyState(title, text, extra) {
]);
}

var SUPPORT_URL = "https://www.buymeacoffee.com/giurrero";

// discreet link to support the project, shown when there is nothing to clean
function supportLink() {
return element("p", { className: "support" }, [
element("a", { href: SUPPORT_URL, target: "_blank", rel: "noopener", textContent: "\u2615 Like Bookmark Cleaner? Buy me a coffee" })
]);
}

// message at the bottom of the page, with an Undo button while there is
// something to undo
var toastTimer = null;
Expand Down
2 changes: 2 additions & 0 deletions store/listing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ No analytics, no tracking, and your bookmarks are never sent anywhere. Bookmark

FREE AND OPEN SOURCE
MIT license. Source code, issues and ideas: https://github.com/wiso/chrome-duplicates

Like it? You can buy me a coffee: https://www.buymeacoffee.com/giurrero
```

## What's new in 0.3.0
Expand Down
5 changes: 5 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,11 @@ dialog p {
color: var(--muted);
}

.empty .support {
margin-top: 20px;
font-size: 13px;
}

/* small windows */

@media (max-width: 640px) {
Expand Down
3 changes: 2 additions & 1 deletion tab-duplicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ TABS.duplicates = (function() {
container.replaceChildren(emptyState("Your bookmarks are tidy!",
document.getElementById("normalize").checked
? "No duplicated bookmarks found."
: "No duplicated bookmarks found. Turn on smart matching to also find links that differ only slightly."));
: "No duplicated bookmarks found. Turn on smart matching to also find links that differ only slightly.",
supportLink()));
}
else if (!visible.length) {
container.replaceChildren(emptyState("Nothing matches the filter",
Expand Down
Loading