xbrowsersync / app

xBrowserSync browser extensions / mobile app
GNU General Public License v3.0
1.49k stars 100 forks source link

Add support for Opera #11

Open kabili207 opened 6 years ago

kabili207 commented 6 years ago
### Steps to reproduce 1. Install extension in Opera 2. Set up sync ### Expected behaviour Extension should sync all bookmarks ### Actual behaviour Only the bookmarks bar is synchronized ### Client app information **App Platform:** Opera **App Platform Version:** 51 #### Other info Opera does not user the same folder layout that other Chromium based browsers use. They've added a method to the chrome.bookmarks object to retrieve the appropriate IDs for each of the "root" folders. The IDs themselves are not static and can change at random. The "user_root" appears to correspond the the "Other Bookmarks" folder in Chrome. https://dev.opera.com/extensions/getrootbyname/
nero120 commented 6 years ago

From what I can tell here Opera supports all of the required apis, so given the only difference you mention it shouldn't be too hard to provide a version to support Opera. I'll aim to include this with the next release which will include support for Firefox.

nero120 commented 6 years ago

After doing some more investigation I've realised that it will require more work to support Opera than originally thought. Some of this work will be done in order to support Firefox in v1.4.0 but in order to not delay that release any longer I'll need to postpone support for Opera until a later release, sorry.

hadi-susanto commented 6 years ago

Hi,

I just use Opera 53 stable version and found that xBrowserSync only able to restore from server to local browser but unable to sync changes to server. I try to delete and add bookmark but xBrowserSync responded with unable to get local bookmark

opera

Thank You, Hadi Susanto

nero120 commented 6 years ago

Hi @hadirena, yes Opera is not supported as yet but I'll be working on adding support after v1.4.0 is released.

yeltommo commented 6 years ago

Hmmm, maybe that explains why it's not working in my Opera browser. Things is, Opera lets me add the extension via its "Install Chrome Extensions" extension.... Weird.

nero120 commented 6 years ago

@yeltommo Though Opera implements the Chrome web extensions API (and hence allows you to install Chrome extensions), I'm not aware of any compatibility check that is performed prior to installing the extension which could lead to issues. Also, the way Opera implements bookmarks is slightly different to both Chrome and Firefox so that will definitely cause issues as your previous screenshot demonstrated.

Not a great move by Opera in my opinion, it's confusing for users when they install extensions built for Chrome that have not been tested with Opera...

Potato-Matic commented 5 years ago

I'm interested to see this happen. xBrowserSync looks like it best fits my requirements, but I recently started using opera as my go-to. I've found it's not just an adequate replacement for chrome, but to also provides a few enticing features chrome doesn't have.

ni-ka commented 5 years ago

Hi @nero120 does the milestone setting mean that it is scheduled for the next release?

nero120 commented 5 years ago

@ni-ka I'll be releasing v1.5.0 shortly which includes many updates, additions and stability fixes. v1.6.0 will be the subsequent release that mainly focuses on adding support for the remaining major browsers. This will be a much less complex release than v1.5.0 so will not take nearly as long to complete!

ni-ka commented 5 years ago

Thanks for the update! Great work

On Thu, 4 Jul, 2019 at 9:13 PM, Rich notifications@github.com wrote:

@ni-ka https://github.com/ni-ka I'll be releasing v1.5.0 shortly which includes many updates, additions and stability fixes. v1.6.0 will be the subsequent release that mainly focuses on adding support for the remaining major browsers. This will be a much less complex release than v1.5.0 so will not take nearly as long to complete!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xbrowsersync/app/issues/11?email_source=notifications&email_token=AAJLIMELZAUVGHKKXMLYHFLP5ZRZHA5CNFSM4EYQJKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIEQAI#issuecomment-508577793, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJLIMFSNNZFTGYK7SCAY43P5ZRZHANCNFSM4EYQJKXA.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xbrowsersync/app/issues/11?email_source=notifications\u0026email_token=AAJLIMELZAUVGHKKXMLYHFLP5ZRZHA5CNFSM4EYQJKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIEQAI#issuecomment-508577793", "url": "https://github.com/xbrowsersync/app/issues/11?email_source=notifications\u0026email_token=AAJLIMELZAUVGHKKXMLYHFLP5ZRZHA5CNFSM4EYQJKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIEQAI#issuecomment-508577793", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

tam481 commented 4 years ago

+1 for Opera support. Thank you

dmitry-radzevich commented 4 years ago

+1 to see it working w/ Opera!

willdashwood commented 3 years ago

+1 for Opera support. I installed it OK but it seems to get stuck when attempting to sync with existing ID.

2020-11-25 10:14:49.652 [trace] Sync 17i3jni (pull) queued
2020-11-25 10:14:49.658 [trace] Processing sync 17i3jni (0 in queue)
2020-11-25 10:14:49.905 [warn]  Missing container: other bookmarks
2020-11-25 10:14:49.915 [trace] Sync 17i3jni failed
2020-11-25 10:14:49.921 [error] bookmarks.sync: [10104] FailedRemoveLocalBookmarks
2020-11-25 10:14:49.924 [trace] Sync 1asu7wd (pull) queued
2020-11-25 10:14:49.927 [trace] Processing sync 1asu7wd (0 in queue)
2020-11-25 10:14:50.115 [warn]  Missing container: other bookmarks
2020-11-25 10:14:50.119 [trace] Sync 1asu7wd failed
2020-11-25 10:14:50.124 [error] bookmarks.sync: [10104] FailedRemoveLocalBookmarks
brincher commented 3 years ago

Same here. Just installed it a few minutes ago in all my browser, but it is not working in Opera (which is the one I use the most). So sad 😢

nero120 commented 3 years ago

Opera modifies the root bookmark folders so xBrowserSync will need some modifications before you can sync to Opera.

brincher commented 3 years ago

Opera modifies the root bookmark folders so xBrowserSync will need some modifications before you can sync to Opera.

"some modifications" like...? Do you have any link for a tutorial on how to do it? Thanks in advance. 🙇🏻‍♂️

nero120 commented 3 years ago

Appreciate the sentiment but it's not that easy. I supposed you could start here if you were serious. The thing about this project is the codebase is complex (despite my complete refactoring for the current release) and so is not easy for people to pick up quickly. To back up this point, I've not had a single serious offer to help maintain/develop it despite over 10,000 users!

brincher commented 3 years ago

Oh, I got it. It is definitely not about some minor tweaking here and there and voilà. I wish I could help, but my knowledge in JS, Typescript and web-dev in general is minimal. What I could (and actually did) was doing some Brazilian Portuguese translation. It could be 100% now but there is a tricky choice of words to be made for a certain group of strings. Let me know what you think about it. I wish you and your project a long and prosperous life. All my best.

nero120 commented 3 years ago

Ah thank you @brincher, I will review your translations today!

I wish you and your project a long and prosperous life.

And same for you!