File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,8 +254,6 @@ async function getSavedEntriesWithUrls(settings) {
254254 continue ;
255255 }
256256
257- entry . scrollIntoView ( { block : "center" , inline : "center" } ) ;
258- await revealToolbar ( entry ) ;
259257 const button = findUnsaveButton ( entry ) ;
260258 if ( ! button ) {
261259 continue ;
@@ -269,17 +267,12 @@ async function getSavedEntriesWithUrls(settings) {
269267}
270268
271269async function unsaveEntry ( entry , knownButton ) {
272- entry . scrollIntoView ( { block : "center" , inline : "center" } ) ;
273- await revealToolbar ( entry ) ;
274- await delay ( 120 ) ;
275270 const button = knownButton || findUnsaveButton ( entry ) ;
276271 if ( ! button ) {
277272 return false ;
278273 }
279274 clickElement ( button ) ;
280- await delay ( 80 ) ;
281- activateAsButton ( button ) ;
282- await delay ( 120 ) ;
275+ await delay ( 100 ) ;
283276 return true ;
284277}
285278
@@ -307,8 +300,6 @@ async function revealToolbar(entry) {
307300// =============================================================================
308301
309302function clickElement ( element ) {
310- element . scrollIntoView ( { block : "center" , inline : "center" } ) ;
311-
312303 const mouseEvents = [
313304 "mouseover" ,
314305 "pointerdown" ,
You can’t perform that action at this time.
0 commit comments