Wikipedia:Reference desk/Archives/Computing/2019 June 14

From Wikipedia, the free encyclopedia
Computing desk
< June 13 << May | June | Jul >> June 15 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 14[edit]

Logging out of Facebook when Facebook does not allow it[edit]

Facebook's usual log-out procedure is not working for me. I click on the triangle that usually gives a menu on which the last item says "log out". Instead of showing that menu, the triangle acts as a link to the "General Account Settings" page. Is there some way to log out when Facebook doesn't provide anything to click on to log out? Michael Hardy (talk) 03:13, 14 June 2019 (UTC)[reply]

For clarity I assume you've tried the triangle from at least two different pages with preferably one being the main Facebook page i.e. your bog standard news feed? Have you tried force refreshing (generally Ctrl F5 will do the trick on Windows)?

If it still doesn't work, you should be able to access the "Security and login" page from the menu to the left when you visit the "General Account Settings". Or just visit this link [1]. Then under "Where you're logged in" if you click "see more" there should be a "Log out of all sessions" which I'm fairly sure should log you out of all sessions including the current one. To be clear, this means you will need to log back in on any mobile devices and other browsers etc.

If you don't want to do that, you can access the page from some other session and log out the session of your browser which can't log out. You probably can't do it from the same session you want to log out since Facebook doesn't let you (well at least not with the UI, the three dots are missing), I guess to avoid confusion.

Note that while you can just delete the cookies on your local browser, this won't kill the session until Facebook decides it's expired which could be a long time. That said, if you kill your cookies you can likely log back in from the same browser and then kill the older session. (There is a chance Facebook will detect it's the same browser and kill the earlier session, but probably not.) Of course you'll then need to kill the new session somehow.

If you don't have another device with an existing Facebook session that you can conveniently use but don't want to log out of all sessions, and don't mind having an unused session logged in, it's probably easiest to just login from the same browser but in private mode and then use that to kill the other session. The risk of having that session is probably fairly low especially since if someone was able to compromise the cookies in the short time they existed you probably have bigger concerns. (To be fair, there is a chance they'll end up on the storage device and persist for a long time and theoretically be findable.) If Facebook had a 'public computers' or similar option which gave a short session length it would probably be even lower risk although to be fair I'm not sure how Facebook handles session lengths anyway. Maybe if you only use a session for a short time, they don't keep it for long.

Nil Einne (talk) 05:21, 14 June 2019 (UTC)[reply]

Footer in a page printed from a web site[edit]

I would like to be able to generate a web page withone section guaranteed to be at the bottom of the page. With a WP system I'd just use a footer, but the <footer> tag doesn't seem to work that way. Does anyone have any pointers for me please. Thanks, Martin of Sheffield (talk) 18:49, 14 June 2019 (UTC)[reply]

@Martin of Sheffield: I have pasted your question into Google search and found this
https://stackoverflow.com/questions/1722437/is-there-a-way-to-get-a-web-page-header-footer-printed-on-every-page
It seems relevant, even though it rather looks like the way to not do that that way. HTH. --CiaPan (talk) 19:36, 14 June 2019 (UTC)[reply]
Thanks, the "@media" route seems to be the best way, using tables means I need to work out how many lines the variable output further up the screen takes. Doable, but not trivial. Martin of Sheffield (talk) 20:11, 14 June 2019 (UTC)[reply]
This is relevant. Not sure why <footer> tag isn't working for you. Jmar67 (talk) 20:19, 14 June 2019 (UTC)[reply]
Even better, and it worked (on the second attempt). With no CSS entry it just jammed the footer at the end of the text near the top of the screen. With the second example in the stackoverflow I saw the desired behaviour. I've still go a slight funny with the shading, but I'm on my way. Thank you. Martin of Sheffield (talk) 20:33, 14 June 2019 (UTC)[reply]