How to insert a script in Gmail Status?
Basically I want to insert a countdown script into my Gmail custom status which would look something like - "5 Days to go.. ". Any help on how to insert the script would be really appreciated.开发者_开发技巧 Also, I found a JavaScript for countdown over here. Please guide me over if this is the correct script.
Try the below lines of code,
<script type="text/javascript" src="https://formscentral.acrobat.com/Clients/Current/FormsCentral/htmlClient/scripts/adobe.form.embed.min.js"></script>
<script type="text/javascript">
var fggEmZbx4bipRZOYKMGXyAQ = new ADOBEFORMS.EmbedForm({formId:"ggEmZbx4bipRZOYKMGXyAQ", server:"https://adobeformscentral.com/", width:1080, showHeader:false, transparent:true, widthAfterRedirect:1080, heightAfterRedirect:400});
fggEmZbx4bipRZOYKMGXyAQ.display();
</script>
I doubt you could do it as it would be a serious security threat to have any kind of code execution in an email (think about it, would you like to receive an email with a script in it?).
I would advise just making it your daily routine to switch your signature.
I think Greasemonkey is what you're looking for :). Or, if you want to get exotic about it Chickenfoot. Regarding Brad's reservation about security this is, I believe, not a concern since you're essentially updating user-side data that Google's ajax code will then sync with server - whether you or Greasemonkey updates the user-side data is of no importance (except to you).
精彩评论