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
(async function deleteBookmarksWithHover() { | |
// Функция задержки для создания пауз между действиями | |
const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms)); | |
// Получаем все элементы, содержащие выпадающее меню с действиями | |
const menuWrappers = Array.from(document.querySelectorAll('.ui_actions_menu_wrap.bookmarks_actions_menu')); | |
if (menuWrappers.length === 0) { | |
console.error("❌ Не найдено элементов с выпадающим меню. Проверьте правильность селектора."); | |
return; |