[Incognito Clone] ...
Extension
https://www.raycast.com/kgrhartlage/incognito-clone
Description
It does not work for me at all. In both Chrome and Brave, I get the error, "Cloning tab failed." Using the โงโN shortcut directly opens a new incognito window as expected, so there is no conflict. I'm currently using an Intel iMac running Ventura 13.3.1.
Steps To Reproduce
- Use either command.
- Watch it fail.
Current Behaviour
It fails to clone the tab.
Expected Behaviour
It should clone the tab.
Thank you for opening this issue!
๐ @kgrhartlage you might want to have a look.
๐ก Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.
I'm sorry to hear it's not working for you. In the case of Chrome the extension does not simulate key strokes, so that cannot be the problem.
Can you run the following in Script Editor (Applications > Utilities > Script Editor):
tell application "Google Chrome"
activate
delay 1
if (count every tab of front window) > 0 then
set theURL to URL of active tab of front window
make new window with properties {mode:"incognito"}
set URL of active tab of front window to theURL
end if
end tell
This is more or less the same code that the extension executes.
It should look something like this:
screenshot
Click the "Play" button and let me know what the output looks like. ๐
I confirmed that this AppleScript does work correctly in both Brave Browser and Chrome. If this is all it does, I'll just create a Keyboard Maestro macro to run this and set up a Quicklink in Raycast to trigger it. Thanks, and good luck troubleshooting! Let me know if there's anything else I can do to help debug.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean ๐
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it ๐
You can also catch us in Slack if you want to discuss this.
I'm sorry to hear it's not working for you. In the case of Chrome the extension does not simulate key strokes, so that cannot be the problem.
Can you run the following in Script Editor (Applications > Utilities > Script Editor):
tell application "Google Chrome" activate delay 1 if (count every tab of front window) > 0 then set theURL to URL of active tab of front window make new window with properties {mode:"incognito"} set URL of active tab of front window to theURL end if end tellThis is more or less the same code that the extension executes.
It should look something like this:
screenshot Click the "Play" button and let me know what the output looks like. ๐
I just wanted to let you know that this extension is still not working even if the script above does works fine. I have tried in Chrome and Safari but it always give the same error "Cloning tab failed"
I would love to help, but I'm not sure how to resolve this because it's working fine on my end. I'm also not knowledgable enough about AppleScript to be aware of nuances or pitfalls in this context.
screen recording
https://github.com/raycast/extensions/assets/42832087/fa96faeb-44db-4788-9ff3-7d5ee0289a83