This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
set browser as my website as homepage for firefox using javascript
How can I set default homepage in FF and Chrome via javascript?
I knew how to set homepage from a website in Internet Explorer using JavaScript; however, due to a security issue I can't do it in Mozilla.
Is there a way to set it in Mozilla using JavaScript?
It isn't possible.
(Hooray!)
Ask politelly to the user to do it.
If the user consider it's worthy he/she will.
Related
This question already has answers here:
How do I redirect to another webpage?
(58 answers)
How can you detect the version of a browser?
(34 answers)
Closed 4 years ago.
I am new to this so please go easy - I need to redirect a website because the video background I'm using won't play on Internet Explorer or Microsoft Edge. So I'm hoping to redirect it elsewhere. Could anyone with more knowledge than me write this in Javascript for me? I would be really appreciative.
You can use window.navigator API to check the browser and throw in a popup/alert which cannot be closed.
Please refer to this URL.
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
This question already has answers here:
How can I obfuscate (protect) JavaScript? [closed]
(22 answers)
Closed 4 years ago.
I'm installing Intercom (https://www.intercom.com) for customer engagement on my site. With the recommended installation the javascript snippet they gave would have my intercom app_id exposed in the page source.
May not be a big deal, but I was wondering if there was a better way where I could keep that hidden.
May not be a big deal
It isn't.
but I was wondering if there was a better way where I could keep that hidden
You can't.
Intercom need the browser to tell them your ID for their approach to work.
This means you must tell the browser your ID.
The browser is the property of the user and it answers to them.
It is not possible to give the browser information and keep it secret from the user who owns the browser.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Set default home page in JavaScript
How do I create a link to set the user's home page to my URL for all browser?
No, there isn't. It used to be possible in older version of Internet Explorer, but thankfully they removed that.
This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
JavaScript: How to detect that the internet connection is offline?
How to check the internet is connected or not in javascript.
You can try to access a web page in Ajax every selected period of time. This code will help you:
http://www.codeproject.com/KB/scripting/InternetConnectionTest.aspx
It is very useful, and because it is Ajax based, is asyncronous, so you can check if the Internet is conected without leaving the original page.
For your convenience try to access a very fast page from a site that is always online (i.e. Google)