
Bookmark Dupes ์ ์์: Martin Vรคth
Display/Remove duplicate bookmarks, empty folders or descriptions
์ฌ์ฉ์ 9,760๋ช
์ฌ์ฉ์ 9,760๋ช
์ด ํ์ฅ ๊ธฐ๋ฅ์ ์ฌ์ฉํ๋ ค๋ฉด Firefox๊ฐ ํ์ํจ
ํ์ฅ ๋ฉํ ๋ฐ์ดํฐ
์คํฌ๋ฆฐ์ท



์ ๋ณด
After installing bookmarkdupes, the basic usage is rather simple:
To open bookmarkdupes, click the extension symbol (duplicate stars) or use the link in the options page of the extension.
Do not enable expert mode (unless you know what you are doing, see separate section).
Then select what you want to display:
After this, you will be offered the list of bookmarks with checkboxes; in case 1 the numbers indicate the order in which matching bookmarks were added according to the internally stored date.
There are also button to select/unselect convenient sets of checkboxes.
Finally, there appear buttons to remove the selected bookmarks (or to move them to a โDupesโ folder) in cases 1-3, or to strip the descriptions of the selected bookmarks in case 4. (The latter has some side effects, see section Known Bugs).
Be aware that removing/moving bookmarks or stripping descriptions is irreversible!
It is recommended to make backups of your bookmarks first!
Currently, there is no working version available for android (see section Known Bugs).
Important:
When you reorganized/added/removed bookmarks, make sure to update the
displayed list (by pressing the corresponding button) before removing
bookmarks or stripping descriptions!
In particular, stripping descriptions with an outdated list will move
the corresponding bookmarks to their previous location in the bookmark menu!
Permissions
The extension requires the following permissions for these reasons:
Expert Mode
When selecting the checkbox for expert mode, details can be configured to
ignore certain bookmarks when calculating the list or under which cases
bookmarks are considered to be dupes of each other.
In non-expert mode, two bookmarks are considered to be duplicates of each other if their URL coincides. In expert mode there are custom rules by which the URL which is actually used for comparison is to be modified. The details are as follows.
For every bookmark the rules are applied in the given order.
There are 2 types of rules: Filter rules and URL modification rules
(there are also disabled rules which are only listed but have no effect).
For both types of rules 4 regular expressions can be specified which are used
to determine if the rule applies: If the corresponding regular expression is
nonempty, the corresponding condition must be satisfied or the rule will not
apply. (In the case of filter rules, at least one of these 4 regular
expressions must be nonempty or that filter rules will not apply either.)
The 4 regular expressions refer to the bookmark's name or url, respectively,
and the regular expressions must either match or not match, respectively.
If a filter rule applies, the corresponding bookmark is ignored, i.e.,
it will not be considered as a duplicate and will neither appear in the
list of empty folders or of all bookmarks.
If a URL modification rule applies, a text replacement will occur:
All parts matching a specified regular expression are substituted by a
replacement text (which might be empty).
The rules for this correspond to the javascript String.prototype.replace function with the
global modifier, see e.g. https://wiki.selfhtml.org/wiki/JavaScript/Objekte/String/replace
or https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/replace
In particular, the replacement text can contain symbols like
match of the first brace in the regular expression, respectively.
The following 5 replacement texts have a special meaning which goes beyond
the standard javascript replacement rules.
Note that this special meaning is only active if this is the full replacement
text. In other words, to get the special meaning, the replacement text must not
contain anything else than these 4-6 characters.
(This does not really restrict the functionality, because one can combine
several rules to work around that limitation if necessary.)
Examples for special tasks which can be done in Expert Mode
Supported Languages
Default language: en
Complete translations: ar, de, es, ru, sv_SE, uk
Mainly but not quite complete translation: zh_CN
Known Bugs
Contributors (alphabetical order)
To open bookmarkdupes, click the extension symbol (duplicate stars) or use the link in the options page of the extension.
Do not enable expert mode (unless you know what you are doing, see separate section).
Then select what you want to display:
- Bookmark duplicates
- Empty folders
- Non-duplicate bookmarks</<li>
- All bookmarks
After this, you will be offered the list of bookmarks with checkboxes; in case 1 the numbers indicate the order in which matching bookmarks were added according to the internally stored date.
There are also button to select/unselect convenient sets of checkboxes.
Finally, there appear buttons to remove the selected bookmarks (or to move them to a โDupesโ folder) in cases 1-3, or to strip the descriptions of the selected bookmarks in case 4. (The latter has some side effects, see section Known Bugs).
Be aware that removing/moving bookmarks or stripping descriptions is irreversible!
It is recommended to make backups of your bookmarks first!
Currently, there is no working version available for android (see section Known Bugs).
Important:
When you reorganized/added/removed bookmarks, make sure to update the
displayed list (by pressing the corresponding button) before removing
bookmarks or stripping descriptions!
In particular, stripping descriptions with an outdated list will move
the corresponding bookmarks to their previous location in the bookmark menu!
Permissions
The extension requires the following permissions for these reasons:
- โbookmarksโ to read/modify bookmarks
- โstorageโ to store/restore the customized rules in expert mode.
Unfortunately, โstorageโ is not one of the optional_permissions which might be required only if that feature is actually requested by the user, see https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/optional_permissions
Expert Mode
When selecting the checkbox for expert mode, details can be configured to
ignore certain bookmarks when calculating the list or under which cases
bookmarks are considered to be dupes of each other.
In non-expert mode, two bookmarks are considered to be duplicates of each other if their URL coincides. In expert mode there are custom rules by which the URL which is actually used for comparison is to be modified. The details are as follows.
For every bookmark the rules are applied in the given order.
There are 2 types of rules: Filter rules and URL modification rules
(there are also disabled rules which are only listed but have no effect).
For both types of rules 4 regular expressions can be specified which are used
to determine if the rule applies: If the corresponding regular expression is
nonempty, the corresponding condition must be satisfied or the rule will not
apply. (In the case of filter rules, at least one of these 4 regular
expressions must be nonempty or that filter rules will not apply either.)
The 4 regular expressions refer to the bookmark's name or url, respectively,
and the regular expressions must either match or not match, respectively.
- The term "regular expression" refers to a javascript type regular expression
as described e.g. in https://wiki.selfhtml.org/wiki/JavaScript/Objekte/RegExp
or https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions - The bookmark's name refers to the full bookmark path as it appears in the
browser with folder names separated by the null character.
For instance, if you have in "Bookmark Menu" a folder "Collection"
which contains your bookmark "Example", the bookmark's name becomes
"Bookmark Menu\0Collection\0Example" (where \0 denotes the null character
which can be matched by the regular expression with \0 or \x00). - The bookmark's url refers to the bookmark url after possible modifications
by previous modifier rules.
If a filter rule applies, the corresponding bookmark is ignored, i.e.,
it will not be considered as a duplicate and will neither appear in the
list of empty folders or of all bookmarks.
If a URL modification rule applies, a text replacement will occur:
All parts matching a specified regular expression are substituted by a
replacement text (which might be empty).
The rules for this correspond to the javascript String.prototype.replace function with the
global modifier, see e.g. https://wiki.selfhtml.org/wiki/JavaScript/Objekte/String/replace
or https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/replace
In particular, the replacement text can contain symbols like
$&
or $1
to refer to the whole matched text or to thematch of the first brace in the regular expression, respectively.
The following 5 replacement texts have a special meaning which goes beyond
the standard javascript replacement rules.
Note that this special meaning is only active if this is the full replacement
text. In other words, to get the special meaning, the replacement text must not
contain anything else than these 4-6 characters.
(This does not really restrict the functionality, because one can combine
several rules to work around that limitation if necessary.)
- โ\L$&โ is the match in lower case.
- โ\U$&โ is the match in upper case.
- โ$URLโ is the url before any other rules have been applied.
- โ$NAMEโ is the bookmark's full name/path with folders separated by the null character, e.g. โBookmark Menu\0Collection\0Exampleโ
- โ$TITLEโ is the bookmark's title without the path; for instance, for the bookmark name โBookmark Menu | Collection | Exampleโ it is โExampleโ.
Examples for special tasks which can be done in Expert Mode
- Task
- Consider two bookmarks as duplicate if their URL differs only in โhttps:โ vs. โhttp:โ at the beginnning.
- Consider two bookmarks as duplicate if their URL matches up to the first โ?โ symbol, i.e. only their additional information differs.
- Do not consider any bookmark from any folder named โMr. Dupeโ as a duplicate.
- Add all bookmarks to the list of duplicates, whether duplicate or not.
- Add all bookmarks from the folder โBookmark Menu | Removeโ to the list of duplicates (no matter whether they actually are duplicates).
- Consider two bookmarks as duplicate if they have the same name (instead of the same URL).
- Consider two bookmarks as duplicate if they reside in the same folder.
- How to do the above tasks in Expert Mode
- Use the replacement rule: โReplace URL matchesโ โ^http:โ โbyโ โ^https:โ Explanation: By replacing everywhere the URL beginnning with โhttp:โ
- Use the replacement rule: โReplace URL matchesโ โ\?.*โ โbyโ โโ Explanation: Simply omit the ? symbol and all other symbols following it
- Use the filter rule: โName matchesโ โ\0Mr\. Dupe\0โ or โ\0Mr[.] Dupe\0โ Explanation: If a bookmark is in a folder named โMr. Dupeโ, its full name (path) will contain the text โ\0Mr. Dupe\0โ; so match that text. Since the โ.โ symbol has a special meaning for regular expressions, we have to quote it. This can be done by either โ\.โ or by looking for a character class โ[โฆ]โ which contains only the single symbol โ.โ.
- Use the replacement rule: โReplace URL matchesโ โ.+โ โbyโ โhttp://dummyโ Explanation: Pretend that every bookmark has the URL โhttp://dummyโ by replacing all characters (โ.+โ) of the original URL by that text.
- Use the replacement rule: โName Matchesโ โ^Bookmark Menu\0Remove\0โ โReplace URL matchesโ โ.+โ โbyโ โhttp://dummyโ Explanation: As in 4, but only for bookmarks whose full name starts with the matching path.
- Use the replacement rule: โReplace URL matchesโ โ.+โ โbyโ โ$TITLEโ Explanation: Replace all bookmark URLs by the corresponding bookmark title when looking for dupes.
- Use the replacement rule โReplace URL matchesโ โ.+โ โbyโ โ$NAMEโ followed by a further replacement rule โReplace URL matchesโ โ[^\0]*$โ โbyโ โโ. Explanation: First replace the URL by its full name path, and then omit the last component of this path by cutting of the longest sequence of non-โ\0โ-symbols at the end.
by โhttps:โ, it does not matter whether the actual URL started with โhttp:โ
or โhttps:โ. Of course, we could have exchanged the roles of โhttpโ
and โhttpsโ in our rule.
in all URLs.
This works only if the folder contains at least 2 bookmarks (because otherwise โhttp://dummyโ is not a duplicate URL). Of course, one might use an actually duplicate URL instead of โhttp://dummyโ to work around this limitation.
Supported Languages
Default language: en
Complete translations: ar, de, es, ru, sv_SE, uk
Mainly but not quite complete translation: zh_CN
Known Bugs
- Live bookmarks are falsely recognized as empty folders. https://github.com/vaeth/bookmarkdupes/issues/4
- Stripping of descriptions works by replacing the bookmark by a freshly created one. In particular, it updates the bookmark creation date.
- Stripping of descriptions creates bookmarks in the place where it was when the displayed list was calculated, see https://github.com/vaeth/bookmarkdupes/issues/11 and the second part of https://github.com/vaeth/bookmarkdupes/issues/8
- In some firefox versions (e.g. 55.0.3) it has been reported that pressing the duplicate stars does not open a new tab. You can try to use the link in the options page of the extension instead if you have this problem. The reason for the problem is still unknown, see https://github.com/vaeth/bookmarkdupes/issues/38
- Android lacks the bookmark API necessary for bookmarkdupes: https://github.com/vaeth/bookmarkdupes/issues/53
Contributors (alphabetical order)
- Essam Ambr aka (JaMaYcKa) https://github.com/JaMaYcKa2B1 (Arabic translation)
- Henaro aka Ironwool https://github.com/perdolka (Russian and Ukrainian translation; redesign icon in svg; provide favicon)
- Sopor https://github.com/Sopor (Swedish translation)
- Juan Salvador Aleixandre Talens https://github.com/juaalta (Spanish translation)
- YFdyh000 https://github.com/yfdyh000 (Simplified Chinese translation)
516๋ช
์ ๋ฆฌ๋ทฐ์ด๊ฐ 4.7๋ก ํ๊ฐํจ
๊ถํ ๋ฐ ๋ฐ์ดํฐ๋ ์์๋ณด๊ธฐ
ํ์ํ ๊ถํ:
- ๋ถ๋งํฌ ์ฝ๊ธฐ ๋ฐ ์์
์ถ๊ฐ ์ ๋ณด
- ๋ถ๊ฐ ๊ธฐ๋ฅ ๋งํฌ
- ๋ฒ์
- 6.6
- ํฌ๊ธฐ
- 75.56 KB
- ๋ง์ง๋ง ์ ๋ฐ์ดํธ
- 3๋ ์ (2022๋ 8์ 13์ผ)
- ๊ด๋ จ ์นดํ ๊ณ ๋ฆฌ
- ๋ผ์ด์ ์ค
- GNU General Public License v2.0 ์ ์ฉ
- ๋ฒ์ ๋ชฉ๋ก
- ๋ชจ์์ง์ ์ถ๊ฐ
๋ฒ์ 6.6์ ์ถ์ ์ ๋ณด
Swedish translation
Martin Vรคth ๋์ ๋ค๋ฅธ ํ์ฅ ๊ธฐ๋ฅ
- ์์ง ํ์ ์ด ์์ต๋๋ค
- ์์ง ํ์ ์ด ์์ต๋๋ค
- ์์ง ํ์ ์ด ์์ต๋๋ค
- ์์ง ํ์ ์ด ์์ต๋๋ค
- ์์ง ํ์ ์ด ์์ต๋๋ค
- ์์ง ํ์ ์ด ์์ต๋๋ค