Jump to content

neoPortal up for beta testing!


matchu

Recommended Posts

  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

I think the idea is nice but I am not personally interested in it. I suppose I am just a little wary since it's an independent project and not something from the actual Neopets site. Forgive me! I do hope that others can get some enjoyment out of it!

Link to comment
Share on other sites

By the way, whenever I click on an icon, it asks me to login, within your site and not Neopets itself. I know you're not trying to scam, but could you please fix that?

If I'm getting what you're saying, look under the Help menu and follow the instructions under "Neopets not logged in!!"

Link to comment
Share on other sites

I'm sure that you are an honest person, and I know I'm a new member and all, but I have my doubts for that site. I don't want to enter my username or password or anything at all. I'm not sure what to do. It looks awesome though, and I'm itching to make a side and try it out, but i've already exceeded all my sides, so I can't make another one. =( -looks at NeoPortal thing longingly-

Link to comment
Share on other sites

No worries :)

 

Please note, though, that the login in the corner is your neoPortal login, not your Neopets login. neoPortal never actually asks for your username and password itself - it opens Neopets.com windows that do. As you know, you should never enter your login info when not at Neopets.com, so always be sure to right-click the Neopets frame, and click Properties (or, in Firefox, This Frame > View Frame Info). The Page URL will be at Neopets.com, so you can feel safe typing in your info since that's the only place it will go ^_^

Link to comment
Share on other sites

Hmm...in a way I believe you. I'm half-way convinced. I really want to join, but I've afraid of being hacked, by a virus or something that might've creeped onto the site. I'll look back on it in a week, and on this forum. if enough people have joined, I'll join too. ;)

Link to comment
Share on other sites

Current member count: 59 - not as many as I'd hope for, but I'll take it. Ask any of 'em - their computers still work, and they still have all their Neopoints ;)

 

See you in a week :)

 

Yes, i understand, but after all, isn't it the first day?? and 59 members in the first day is a LOT!

Link to comment
Share on other sites

The site has been public for about a week, but we were privately inviting testers since January or so :)

 

You're convincing me more and more. =D I still have to think about it though.

Link to comment
Share on other sites

Deepti, I can pretty much assure you that this is perfectly safe to use. I mean, AA even vouched for it!

 

Wow. And I seriously mean wow! :thumbsup: A great concept, very well executed, and simply excellent for something that's still in a beta stage (I've seen supposedly stable, commercial web apps that are just epic failures xD ). If I could give out a 'Creative Use of Ajax' award, this would definitely be my pick. :yes:

 

The only quirks I've found with it are minor usability issues (which plenty of people have mentioned already), but it looks like you're already working on ironing those out.

 

By the way, neoPortal works cleanly and smoothly, even with the latest experimental Tracemonkey code - that's not something I see very often in web apps. :P

Personally, I don't use it, since I'm already using another site I have for dailies that I'm just too used to to change, but this definitely looks like a cool app.

Link to comment
Share on other sites

-sighs- I see your point. I'll make a side account and test it out. If I like it, main account it is!

Link to comment
Share on other sites

Oh, one last thing: I don't want people stealing my code. I put a lot of effort into this, so people ripping it wouldn't be fun. Regardless, I made no effort to hide what the fancy Javascript does. Sure, there's some secretive backend stuff, but things like how Neo windows open are all "public"-ish code. So if you know someone who understands Javascript, you can have them poke around portal-init.js.

 

The function in question would be:

	MochaUI.neoWindow = function (url,title) {
	new MochaUI.Window({
		id: 'neo_'+url+'_window',
		title: $chk(title)?title:'Neopets',
		loadMethod: 'iframe',
		contentURL: url,
		width: window.size().width>1200?1026:window.size().width-200,
		height: window.size().height-100,
		padding: {top:0,right:0,bottom:0,left:0},
		contentBgColor: '#fff'
	});
}

Then, if you take a look at your Neopets icons on the desktop, you'll see the onclick events. Here's the example for Tombola:

MochaUI.neoWindow("http://www.neopets.com/island/tombola.phtml","Tombola");return false;

So, if you're familiar with code, what ends up happening is that we open a fancy MochaUI window in "IFrame" mode, which stands for Inline Frame - meaning that it's actually treated exactly like a window inside a window. The URL of this mini-window is, in this case, http://www.neopets.com/island/tombola.phtml - you can verify this with the right-click method outlined in a previous post. It's not a page on neoPortal or anything - it's exactly as if you pulled up a new tab in your browser. We just let you move it around a bit.

 

Then you might ask, "Well, if you can code all this fancy stuff to move the IFrame around, who's to say you can't look right into my window and see what I put in for Username and Password?" The answer is: your lovely browser :)

 

Your web browser loves and protects you. It notices that the IFrame is on Neopets.com, and that neoPortal is not. Since our two websites have not "agreed" to interact (Neopets.com would have to put some special code on their site for that to work), your web browser would effectively reject any attempt for neoPortal to figure out what's going on inside that window. In fact, once you, say, click the Play Tombola button, we can't even know that you moved. If we tried to look up the IFrame's current location, we'd get a pretty little "undefined."

 

So thanks for trying things out on your side account, and hey - if anyone around here knows Javascript, please feel free to check my facts! I want users to feel as secure as possible, so poke around portal-init.js, the MochaUI core files, etc. and make sure that as you follow the path from MochaUI.neoWindow nothing besides a simple, mini-window ever happens ^_^

 

Thanks in advance!

Link to comment
Share on other sites

Oh, one last thing: I don't want people stealing my code. I put a lot of effort into this, so people ripping it wouldn't be fun. Regardless, I made no effort to hide what the fancy Javascript does. Sure, there's some secretive backend stuff, but things like how Neo windows open are all "public"-ish code. So if you know someone who understands Javascript, you can have them poke around portal-init.js.

 

The function in question would be:

	MochaUI.neoWindow = function (url,title) {
	new MochaUI.Window({
		id: 'neo_'+url+'_window',
		title: $chk(title)?title:'Neopets',
		loadMethod: 'iframe',
		contentURL: url,
		width: window.size().width>1200?1026:window.size().width-200,
		height: window.size().height-100,
		padding: {top:0,right:0,bottom:0,left:0},
		contentBgColor: '#fff'
	});
}

Then, if you take a look at your Neopets icons on the desktop, you'll see the onclick events. Here's the example for Tombola:

MochaUI.neoWindow("http://www.neopets.com/island/tombola.phtml","Tombola");return false;

So, if you're familiar with code, what ends up happening is that we open a fancy MochaUI window in "iframe" mode - meaning that it's actually treated exactly like a mini-window. The URL of this mini-window is, in this case, http://www.neopets.com/island/tombola.phtml - you can verify this with the right-click method previously outlined.

 

Then you might ask, "Well, if you can code all this fancy stuff, who's to say you can't look right into my window and see what I put in for Username and Password?" The answer is, your lovely browser :)

 

Your web browser loves and protects you. It notices that the iframe is on Neopets.com, and that neoPortal is not. Since our two websites have not "agreed" to interact (Neopets.com would have to put some special code on their site for that to work), your web browser would effectively reject any attempt for neoPortal to figure out what's going on inside that window. In fact, once you, say, click the Play Tombola button, we can't even know that you moved. If we tried to look up the iframe's current location, we'd get a pretty little "undefined."

 

So thanks for trying things out on your side account, and hey - if anyone around here knows Javascript, please feel free to check my facts! I want users to feel as secure as possible, so poke around portal-init.js, the MochaUI core files, etc. and make sure that as you follow the path from MochaUI.neoWindow nothing besides a simple, mini-window ever happens ^_^

 

Thanks in advance!

 

fine. -pouts- forget the side. When you invited other ppl to test out ur java script out, i became convinced. i'm joining on my main!

 

fine. -pouts- forget the side. When you invited other ppl to test out ur java script out, i became convinced. i'm joining on my main!

 

I edited my post, because I came to like it as Matchu explained the deets to me. Very helpful site.

 

This post has been edited by a member of staff (Anime) because of a violation of the forum rules.

Do not double post.

Please check your user inbox to see if you have been contacted regarding this incident, then review our rules.

Link to comment
Share on other sites

i haven't looked at the js, but what matchu says is true--browser rules prevent script access to outside domains. javascript can only be used on a single domain and cannot cross that boundary unless additional steps have been taken by the external domain.

 

if javascript was allowed to openly access cross-domain pages from an iframe, there would be an endless amount of mayhem all over the internet. the only way to simulate something like that would be to create a proxy or intermediate page that would live on your server and fetch the contents of the iframe to then display to you. in that case, the url would not read http://neopets.com.

Link to comment
Share on other sites

My brain very nearly imploded reading all the javascript terms in the above posts (excluding the one directly above this one). x_x

 

I like the new border! It looks more Neopet-like. This is proving to be pretty useful. =]

Link to comment
Share on other sites

I agree! Neopets should be like this, but maybe without the popup windows. it looks like an I-Mac in a way. I don't like I-Macs. :/ lolz

Link to comment
Share on other sites

An idea for some cool slogans could be:

"You want quick and easy access to dailies? We can do that."

-or-

"Because Neopets is complicated enough."

-or my favorite-

"Foolish mortal, use our portal." :evil:

Link to comment
Share on other sites

ooh. I like that one unstream! It's funny! -starts chanting "Foolish Mortal Use my portal"-

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

Announcements




×
×
  • Create New...