machinateur / android-chrome-tab-transfer

A tool to transfer google chrome tabs from your android phone to your computer using `adb`.
MIT License
91 stars 10 forks source link

Error when using tabs-reopen.sh #26

Closed LLLOOOMMM closed 8 months ago

LLLOOOMMM commented 8 months ago

Hello,

when using the tabs-reopen.sh script, I get the following output and nothing happens on the phone.

Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb.

This message is repeated for every tab that should be reopend. I had no issues saving the tabs from my old phone.

I'm running the script on Ubuntu 23.04, PHP 8.1.12ubuntu4.3, Android Debug Bridge version 1.0.41

I'm trying to reopen the tabs on a Pixel 8 Pro running Android 14.

If you need any more logs or information, I'm happy to provide them.

Best regards

machinateur commented 8 months ago

The method was changed back in march this year:

The current version of the docs does indeed state PUT as the endpoint method.


I just merged #24 to fix this.