Using Java Script in email [duplicate] - javascript

This question already has answers here:
HTML email with Javascript [closed]
(8 answers)
Closed 4 years ago.
I am sending am email from a C# application which has html and javascript in it.
And when I checked the received mail the graphs which should be appearing after the execution of javascript code are not appearing.
I am using outlook to view the email
Is there some way to make javascript run in an email on outlook

Javascript cannot be used in emails, it's a security issue. Most of the email clients will not execute it and more will take it as an issue and remove it instantaneously.
Instead you should export your graphs as png or jpeg images to integrate them.
Hope it helps.

Related

I want to hide the main-es2015.{some-hash}.js from client devtool source [duplicate]

This question already has answers here:
How can I obfuscate (protect) JavaScript? [closed]
(22 answers)
how to hide javascript code [duplicate]
(4 answers)
Closed 7 years ago.
Is there anyway to hide or secure my javascript code. Because anyone can easily
see my javascript logic on my website using view page source and it's harmful for me. Please tell me any method you know for securing the javascript code or for making it difficult to understand using any encryption method with cannot easily decrypt.
You can't. Don't put sensitive code, keys, information, or logic on the client. The only thing you can do is make it harder to read by running your code through an obfuscator.

How do you add onload() for email HTML [duplicate]

This question already has answers here:
Is JavaScript supported in an email message?
(11 answers)
Closed 9 months ago.
I am creating an email bot and I want there to be some dynamic data and was wondering if there was onload() support in emails like gmail?
<body onclick="function()">
Does Gmail support this?
It's not possible, no javascript execution is allowed in emails, among many other things.

Google Web App alerts have scripts.googleusercontent.com says [duplicate]

This question already has answers here:
How to edit a JavaScript alert box title?
(10 answers)
Where is my iframe in the published web application/sidebar?
(1 answer)
Closed last year.
I'm building a Web App on the Google Apps Script platform
When I summon JavaScript alerts e.g.
window.alert('Thankyou for submitting your details. You will now be taken to the grammar test')
it will give me a message at the top of the alert saying randomString scripts.googleusercontent.com says
This looks messy and unprofessional so I would like to get rid of it before giving to my client
How can I override it?

Loading json data from file, using js locally [duplicate]

This question already has answers here:
jQuery how to load some json records into a form fields?
(4 answers)
Loading local JSON file
(26 answers)
Closed 4 years ago.
I have 3 files: formData.json, myForm.html, and form.js.
How can I take data from .json using JavaScript, and load it to my HTML form without any kind of server, just using Chrome? Is it even possible? Thanks.
Yes, it is possible, but probably requires an entire tutorial rather than a simple answer, and many choices to be made depending on your requirements and experience.
See if this other answer helps.

protecting selenium from detection [duplicate]

This question already has answers here:
Can a website detect when you are using Selenium with chromedriver?
(25 answers)
Chrome browser initiated through ChromeDriver gets detected
(2 answers)
Closed 4 years ago.
I am trying to crawl a couple of website pages to use their information and I can only use things like selenium that has chromium to do that
Now I am trying to hide it from the website owners because I don't want to get banned. some people are talking about changing some variable names called cdc_ inside of chromdriver and I can't understand how to do it
Also I am using python for this
EDIT : My problem is that I can't change the variable of cdc_ or any other variables in chrome driver because I don't know how
any method so I can hide the fact that I am using selenium!
Please help me here
Thank you for your time

Categories

Resources