| Author |
automatically set a website as the homepage? |
pccrew
Banned
Posts: 50
Location:
Joined: 04.03.06 Rank: Wiseman Warn Level: 100
|
|
|
is it possible to automatically set a website as the homepage from the website itself? |
|
| Author |
RE: automatically set a website as the homepage? |
ThorsDecree
Member

Posts: 542
Location: ミシシッピー
Joined: 21.04.07 Rank: Elite |
|
yes, though most browsers' security settings disable it. Not quite sure how, google it. Probably done through a common scblockedripting language like javascblockedript or php, though.
"I know nothing except the fact of my ignorance."
- Socrates |
|
| Author |
RE: automatically set a website as the homepage? |
cis_slayer
Member

Posts: 225
Location:
Joined: 23.10.06 Rank: Hacker Level 2 |
|
well in some websites cant you click a button on the website and have it set as the home page...this would mean that the user has to confirm it....well just make a little pop-up saying something stupid and put some scblockedript in it so it will make it the home page heehee....so deceitful |
|
| Author |
RE: automatically set a website as the homepage? |
x0vghd
Member

Posts: 125
Location:
Joined: 23.12.07 Rank: Monster |
|
lol u could totally fuck someone over this way.
"Hacking is like taking candy from a baby, its fun watching them cry." ~ x0v.ghd |
|
| Author |
RE: automatically set a website as the homepage? |
pccrew
Banned
Posts: 50
Location:
Joined: 04.03.06 Rank: Wiseman Warn Level: 100
|
|
|
haha, that's just plain evil! i love the idea, and i'll look into it |
|
| Author |
RE: automatically set a website as the homepage? |
Uber0n
Member

Posts: 1963
Location: Sweden
Joined: 13.06.06 Rank: God |
|
A simple 'Set as homepage' link ;)
<a href="#" onblockedclick="this.style.behavior = 'url(#default#homepage)'; this.setHomePage('http://www.example.com');">Set as Homepage</a>

http://uber0n.webs.com/ |
|
| Author |
RE: automatically set a website as the homepage? |
What_A_Legend
...Legend?

Posts: 469
Location: On the Net
Joined: 12.04.06 Rank: Omniscient |
|
Simple enougth to make a bookmark this page link on a site but why not make a hotspot on a site right in the middle or the whole page and a on event action so you could do on mouse over and then run the rest of it like a link.
[Edit] Hope this make's sence it does in my mind, but don't think it was worded well and I can not gurantee this will work. [/edit]
Edited by What_A_Legend on 15-01-08 16:13 |
|
| Author |
RE: automatically set a website as the homepage? |
Uber0n
Member

Posts: 1963
Location: Sweden
Joined: 13.06.06 Rank: God |
|
Yeah I was thinking about that, but I had to go when posting so I just copied the text from the first google result lol 

http://uber0n.webs.com/ |
|
| Author |
RE: automatically set a website as the homepage? |
What_A_Legend
...Legend?

Posts: 469
Location: On the Net
Joined: 12.04.06 Rank: Omniscient |
|
Ye I was just going to say google it, I'm sure alot of people have asked this question so there should be lot of info on the net.
|
|
| Author |
RE: automatically set a website as the homepage? |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
I think it's impossible in Opera and Firefox. Dunno about either IE6 or 7.

"The chowner of property." - Zeph Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term. - Carl Sagan Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor? - Ebert |
|
| Author |
RE: automatically set a website as the homepage? |
Uber0n
Member

Posts: 1963
Location: Sweden
Joined: 13.06.06 Rank: God |
|
This works for IE, Firefox and Netscape although it requires a confirmation in FF:
<scblockedript>
function bookmark(){
var title = 'Example Site FTW';
var url = 'http://www.example.com';
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
else if (window.sidebar&&window.sidebar.addPanel)
window.sidebar.addPanel(title,url,"");
}
</scblockedript>
<a href="javascblockedript:bookmark()">Bookmark this site</a>

http://uber0n.webs.com/ |
|