If you used Opera Flow service and after some time decided to "reset" it, delete opera account and etc, but want to backup all content stored inside, you can run this on desktop
- Open Opera
- Open Flow
- Right-click anywhere and use "Save as"
- Open Opera
- Open flow tab
- Scroll up to the first "message" (to get rendered all sent data)
- Right-click somewhere and then "Inspect element" (check it source code)
- Now you opened "Dev Tools", look at the top of window and look for tabs "Elements", "Console" and etc. We need "Console"
- Copy this code, paste it in console and run (press Enter)
JSON.stringify(Array.from(document.querySelectorAll(".body")).map(el => el.innerHTML))
This script will gather all html which will contain message, time, link with other additional elements rendered by Flow, and display it in console.
If you need less "details" - only link, or text if it was message:
JSON.stringify(Array.from(document.querySelectorAll(".links")).map(el => {
if (el.innerText.trim().length>0){
return el.innerText.trim()
}else{
return el.parentElement.children[0].children[0].children[0].innerText
}
}))
The way above is most "lightweight" in meaning of content - You will see only links and if message is not a link - text content. No more additional data like timestamp, html elements that are not required and etc.
- Backup through "Save as" - 110 entries with all aditional rendered content tooks about 7MB
- Backup through "body" class elements - 110 entries tooks about 180KB
- Backup only link/text - 110 entries tooks about 7KB