Jump to content

TemporaryEmail — Get a temporary email inbox


Recommended Posts

Update.


Quick emails with no argument use a random string instead of trying to build a name.


To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.

Link to post
  • 2 weeks later...

I added a few lines to your great script, vitor, to use Firefox as my default browser.

"Open tab in Firefox" works out of the box, switching back to previously active tab works with a tiny modification in Firefox (see below). Here's my code:

 

osascript <<EOF
tell application "System Events" to set myFrontMost to name of first item of (processes whose frontmost is true)
if myFrontMost is "Firefox" then
	tell application "Firefox"  
		activate
	    	open location "${url}"
	tell application "System Events" to key code 48 using control down
	end tell
end if
EOF
pbcopy <<< "${email}"

 

To enable "return to previously viewed tab", do the following in Firefox (otherwise Firefox will show you the newly opened tab with tempmail-URL):

 

-    browse about:config
-    find browser.ctrlTab.previews
-    set true

(via https://superuser.com/questions/290704/switching-back-to-last-tab-on-firefox)

Have fun.

Edited by hfr
Link to post
  • 1 year later...
  • 2 weeks later...
  • 3 months later...
  • 1 year later...
2 hours ago, az566 said:

Can you please add support for Firefox though?


Whenever you have this question, the answer is, “When Mozilla adds AppleScript support to Firefox.”

 

The reason so few workflows support Firefox is because Mozilla makes it extremely difficult to do so. You need to go tell them to fix Firefox at the link below if you ever want that to change.

 

https://bugzilla.mozilla.org/show_bug.cgi?id=125419

Link to post
  • 4 weeks later...
Just now, crgraham32 said:

I keep getting an error message that the developer is not recognized. How do I get around this?

 

That happens because an app inside the Workflow isn’t signed. Apple demands a $99/year payment for that, which I can’t really justify paying for tools I distribute for free. That’s a simple manual fix, but I’d like to try an automated solution I’ve been thinking about.


Does this one work? Also, what version of macOS are you on?

Link to post
8 minutes ago, vitor said:

 

That happens because an app inside the Workflow isn’t signed. Apple demands a $99/year payment for that, which I can’t really justify paying for tools I distribute for free. That’s a simple manual fix, but I’d like to try an automated solution I’ve been thinking about.


Does this one work? Also, what version of macOS are you on?

 

 

I found a workaround.  Not sure if it's the one you linked.  I am using Big Sur.  

 

An automated fix would be great!  

 

Thanks!!

Edited by crgraham32
Link to post
4 hours ago, crgraham32 said:

An automated fix would be great!


Well, yes, but now that you’ve run another fix beforehand we can’t test if the automated fix works under real conditions, so I can’t implement it. That link above was meant to find out if it worked.

 

4 hours ago, crgraham32 said:

Is it just me, or does this mail service (mailinator) seem to take forever to deliver emails?


I accept recommendations to alternatives. As long as the email inbox can be represented in the URL, it works.

Link to post
2 hours ago, vitor said:


Well, yes, but now that you’ve run another fix beforehand we can’t test if the automated fix works under real conditions, so I can’t implement it. That link above was meant to find out if it worked.

 


I accept recommendations to alternatives. As long as the email inbox can be represented in the URL, it works.

Sorry about that.  I had already found a workaround before I ready your post.

 

It's surprisingly hard to find a good service that includes the email inbox in the URL! 

Link to post

Update.


Added support for Firefox. Because it does not support AppleScript, the inbox will open in the foreground and you must manually return to the tab you were in. It’s an inferior experience to other browsers, but in this case I do feels it’s better than nothing.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

Edited by vitor
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...