extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Incognito Clone] ...

Open nukesean opened this issue 3 years ago โ€ข 7 comments

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

  1. Use either command.
  2. Watch it fail.

Current Behaviour

It fails to clone the tab.

Expected Behaviour

It should clone the tab.

nukesean avatar May 23 '23 21:05 nukesean

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.

raycastbot avatar May 23 '23 21:05 raycastbot

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 CleanShot 2023-05-24 at 07 13 14@2x

Click the "Play" button and let me know what the output looks like. ๐Ÿ™

kgrhartlage avatar May 24 '23 05:05 kgrhartlage

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.

nukesean avatar May 25 '23 19:05 nukesean

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 ๐Ÿ˜Š

raycastbot avatar Jul 14 '23 20:07 raycastbot

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.

raycastbot avatar Jul 24 '23 21:07 raycastbot

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 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"

LonnyX avatar Sep 29 '23 12:09 LonnyX

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

kgrhartlage avatar Sep 29 '23 14:09 kgrhartlage