Prefiling mailto URL for gmail - with from and html body parameters - url

here I found of how to formulate an URL to open a compose popup window in gmail
Prefilling gmail compose screen with HTML text
it works great, but I want to go 2 steps further
I'd like to set FROM parameter. Since in my gmail account I have the option to select from which email I'd like to send... I would like to preset this if possible
I would like to do some basic HTML formatting in my body parameter...if I just add text it doesn't work

I know for certain no HTML in the body:
Is it possible to add an HTML link in the body of a MAILTO link
The hunt for a from parameter is ongoing...

Related

target ="_blank" automatically added in email

I am trying to send a newsletter containing multiple links and anchors to navigate through the page. Usually this works fine but the links no longer work now and open a new page instead (my mailbox).
I've noticed that the code of my links in the original page:
<a class="western" href="#Menu">Menu</a>
is automatically turned into the following in the email received :
<a class="western" target="_blank" rel="noreferrer noopener" href="#Menu">Menu</a>
Any idea what might be causing this and how to fix it?
Different e-mail clients support different HTML features.
Anchor links, for example, are not very well supported at all.
An e-mail client can display your HTML in any way it wants: filtered, modified or even not at all. It's out of your hands, in this case.

Webapp in iOS opens popup when outside scope

Since Apple iOS 13.1+ all webapps without the proper manifest and/or scope directive will be left with a popup IN the webapp when changing URL's. When the manifest is OK and holds the right scope (e.g. "/") all navigates like before. The problem is when my clients want to pay on my website and they are redirected to my payment provider. This URL change (also domain change) is again opened IN this popup instead in a flow from my shop.
Does anyone know how to solve this?
After long search i found the way of loading the manifest was the problem. We added this in correct (and checked) syntax in the head segment of the HTML. However we used the JSON type inclusion. We found that when using inline link tag, using rel="manifest", we should not put the JSON within the tags but in the href attribute like so: href="data:application/manifest+json,{}"/>. The same JSON output goes between the acculade brackets and then the scope and starturl are processed by the browsers.

Sendgrid shows different link location on hover

I use sendgrid to blast emails out for different clients. I have one master account and then a few sub accounts. Each account has a subdomain and a unique ip address assigned to it.
Lately I have been having an issue where I link an image to Company A's website and it goes to it, but when you hover over it, Company B's website shows. Not sure why. Links are correct and I am not doing anything fancy.
Likely this is due to the setting of the title attribute in your HTML. I know most GUI editors (WYSIWYG) they will automatically create a title that is the URL inside the a tag.
If you are just changing the URL inside an a tag, then you likely still have the old URL inside of the title attribute of the a tag.
For example:
<img src="prettyimage.jpg" />
If you took that and just replaced URL 1 with URL2 in the href, the title would still display URL1 on hover.
Your options are:
If you design it via WYSIWYG editor:
See if your editor allows the option to edit title on a tag
Remove the the link completely and create a new link each time
If you hand code:
Edit the title each time you change the href
remove the title attribute completely from the a tags

How to Auto Login to a web-site?

Hello,
I need to login to a web-site automatically. It is a dashboard. Is there a URL link code which I can create as shortcut link or VBScript code to achieve this? Also is there a AppleScript for MAC?
Here's an example of a javascript bookmarklet that creates a form hidden in a div at the bottom of the current page and then submits it. (I included a time stamp cause many dashboard logins include a hidden timestamp field in the form.)
javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);document.body.appendChild(document.createElement('div')).innerHTML='<form%20name="BletForm"%20method="POST"%20action="https://secure.mysite.com/index.asp?action=login"><input%20type="hidden"%20name=“domain”%20value=“mydomain”%20/><input%20type="hidden"%20name="username"%20value=“myname”%20/><input%20type="hidden"%20name="password"%20value=“mypassword"%20/><input%20type="hidden"%20name="hidDateTime"%20id="idhidDateTime"%20value=""%20/></form>';document.getElementById('idhidDateTime').value=+new%20Date()%20/1000%20|0;document.forms%5B'BletForm'%5D.submit();
You can use that code along with do javascript in safari for an Applescript solution. Something like:
set jsCode to "document.body.app..."
tell application "Safari"
do JavaScript jsCode in current tab of window 1
end tell

How can I open an URL in a hidden tab in Firefox

I'm developing a Firefox add-on and want to get the document content (DOM Elements) of an URL for parsing some data but don't want user to see this action. Is there any way to open an URL in a hidden tab and get the document content of this tab? Or any other solution?
you could use Javascript to do that. Have a closer look at the xmlhttpRequest function.
http://en.wikipedia.org/wiki/XMLHttpRequest

Resources