Monday, December 9, 2024

Remove PowerPoint Password

 

  • Step 1: You need to change the PPT file extension to ‘.zip’ and click ‘Yes’ to proceed.
  • Step 2: After that, open the said file with WinRAR or WinZip.

    zip file
  • Step 3: After the file is opened, the contents will be visible. Locate the ‘presentation.xml’ file.

    file transfer
  • Step 4: Then, create a copy of the said file and paste it on the desktop.
  • Step 5: Then, open the file with Notepad and press ‘Ctrl + F’ to open a dialog box. Type the word ‘modify’ there and click ‘Find Next’.

    modify
  • Step 6: Delete the ‘<p:modifyVerifier……/>’ file, then save and close it.
  • Step 7: Again, copy the ‘presentation.xml’ file back into the ZIP folder and change the extension back to ‘.pptx’.

As you can see, the steps are a bit elaborate. But this method successfully removed the password protection from the file.

Saturday, December 7, 2024

Amazon: Delete all "items saved for later"

## Instructions for Deleting Saved Items from Amazon Cart in Firefox ##

1. **Open Your Amazon Cart**  
   Launch Firefox and navigate to your Amazon Cart.

2. **Access Developer Tools**
 
   - Right-click anywhere on the page.
   - Select **Inspect** from the context menu.

3. **Switch to the Console Tab**  

   Click on the **Console** tab within the Developer Tools panel.

4. **Prepare to Execute JavaScript**  
   Type `allow to paste` in the console to enable pasting code.

5. **Copy and Paste the JavaScript Function**
 
   Copy the following code snippet and paste it into the console:

   function deleteSavedItems() {
       var query = document.querySelectorAll("#sc-saved-cart input[value='Delete']");
       if (query.length) {
           query[0].click();
       }
       if (query.length > 1) {
           setTimeout(deleteSavedItems, 100);
       } else {
           console.log('Finished');
       }
   }

  

6. **Execute the Function**  
   To start deleting saved items, type `deleteSavedItems();` in the console and press **Enter**.

7. **Repeat as Necessary**  
   If there are more items to delete, you can run `deleteSavedItems();` again until all desired items are removed.

### Additional Notes ###
- Ensure that you scroll through your saved items first to make any additional items visible before executing the script. 

- Confirm that this method is still functional as of October 15, 2023, based on user feedback.

- To revert `allow to paste`, open about:config, and reset devtools.selfxss.count