1
0
Fork 0
forked from OpenNeo/impress

closet page importer also warns to log in in another window

This commit is contained in:
Emi Matchu 2011-07-25 14:15:23 -04:00
parent 6203caf186
commit 2983849b1f
2 changed files with 20 additions and 7 deletions

View file

@ -1,2 +1,10 @@
module ClosetPagesHelper module ClosetPagesHelper
def link_to_neopets_login(content)
link_to content, neopets_login_url, :target => "_blank"
end end
def neopets_login_url
"http://www.neopets.com/loginpage.phtml"
end
end

View file

@ -20,13 +20,18 @@
1. Check the framed Neopets.com window on the left, pointing to 1. Check the framed Neopets.com window on the left, pointing to
[page #{@closet_page.index} of your closet][cp]. [page #{@closet_page.index} of your closet][cp].
* **Log in if you haven't already.** If you're logged into * **Confirm that you're logged in.** If you're logged into
Neopets, but not in this frame, enable "third-party cookies" in your Neopets, but the above frame says that you're not, try enabling
browser. (Most have that on by default.) "third-party cookies" in your browser. (Most have that on by default.)
* **Confirm that the page is, in fact, your closet.** Don't just trust a * **If you haven't logged in, #{link_to_neopets_login "do so in another window"}</a>.**
website when they tell you to copy-paste the source code of another site. It's never a good idea to log in inside of a frame, unless you're a
Instead, check that the page is what it is supposed to be and does not web programmer pro who can check that the frame does, in fact, point
contain any information you didn't mean to give out. to Neopets.com. To be safe,
#{link_to_neopets_login "pull up another window, check the URL, and log in safely"}.
* **Confirm that the page is, in fact, your closet.** Similarly, don't
just trust a website when they tell you to copy-paste the source code
of another site. Instead, check that the page is what it is supposed to
be and does not contain any information you didn't mean to give out.
2. View the frame's source code. 2. View the frame's source code.
* **In Google Chrome,** right-click the frame and choose **View Frame Source**. * **In Google Chrome,** right-click the frame and choose **View Frame Source**.