Posts Tagged ‘waste’

How to permanently enable Cookies in Lynx text browser – Disable accept cookies prompt in lynx console browser

Wednesday, April 18th, 2012

lynx-text-browser-logo
The default behaviour of lynx console text browser on Linuces, BSD and other free OSes is to always ask, for the accept cookies prompt once an internet web page is opened that requires browser cookies to be enabled.

I should admin, having this "secure by default" (always ask for new cookies) behaviour in lynx was a good practice from a security point of view.

Another reason, why this cookies prompt is enabled by default is back in the days, when lynx was actively developed by programmers the websites with cookies support was not that many and even cookies was mostly required for user/pass authentication (all those who still remember this days the websites that requires authentication was a way less than today) …
With this said the current continuing security cautious behaviour in the browser, left from its old days is understandable.

Screenshot Google Accept cookies Lynx dialog FreeBSD

However I personally sometimes, need to use lynx more frequently and this behaviour of always opening a new website in text mode in console to prompts me for a cookie suddenly becomes a big waste of time if you use lynx to browser more than few sites. Hence I decided to change the default way lynx handles cookies and make them enabled by default instead.
Actually even in the past, when I was mainly using internet in console on every new server or home Linux install, I was again making the cookies to be permanently accepted.
Everyone who used lynx a few times already knows its "annoying" to all time accept cookie prompts … This provoked me to write this short article to explain how enabling of constant cookie accepting in lynx is done

To enable the persistent cookies in lynx, one needs to edit lynx.cfg on different GNU / Linux and BSD* distributions lynx.cfg is located in different directory.

Most of the lynx.cfg usual locations are /etc/lynx/lynx.cfg or /etc/lynx.cfg as of time of writting this post in Debian Squeeze GNU / Linux the lynx.cfg is located in /etc/lynx-cur/lynx.cfg, whether for FreeBSD / NetBSD / OpenBSD users the file is located in /usr/local/etc/lynx.cfg

What I did to allow all cookies is open lynx.cfg in vim edit and change the following lines:

a)

#FORCE_SSL_COOKIES_SECURE:FALSE

with

FORCE_SSL_COOKIES_SECURE:TRUE

b)

#SET_COOKIES:TRUE

uncomment it to:

SET_COOKIES:TRUE

c) next, change

ACCEPT_ALL_COOKIES:FALSE

ACCEPT_ALL_COOKIES:TRUE

Onwards opening any website with lynx auto-accepts the cookies.

lynx Always allowing from domain cookies Linux screenshot

Google in Bulgarian Lynx browser screenshot

For people who care about there security (who still browse in console (surely not many anymore)), permanently allowing the cookies is not a good idea. But for those who are ready to drop off little security for convenience its ok.
 

Need something to push me go on

Monday, June 25th, 2007

The day didn’t started good. I feel lonely although I know I’m not, hope this won’t waste for too long. I hope something would happen into my life to give me a new breath and power to continue the path destined for me.END—–

Night in a tent in Kavarna and the Topola Beach

Monday, July 7th, 2008

Saturday evening I and a group of friends went to Kavarna. I met some oldschool friends there like Zornica (Blacksun), and one of the twins(Ivailo). Ivailo is studying philophy and most likely believes that phisophy serves a good purpose.In general I spend something like 3 hours in a non sense talk on the topic of my faith in Christ. He tried to mock my faith and tried to make me incompetent not well educated etc. etc., anyways I don’t much care of this because my Savior Lives and what God has done and is continuing to do for me is very real.So in general The night was a sort of waste of time. After having a distant walk from Kavarna beach where our tent was established to the Kavarna Stadium where all the rock’n roll buzz was happening.There was a tons of metal heads around the town of Kavarna, most of themdrunkards or on a way to get dead drunk lost in the lie that the metal philosophy presents, something in which I was a prisoner for a very long time. The happening which gathered all of them there is the Rock concert of Manowar. This is thesecond time Manowar are playing in Kavarna and I think the 3rd time they play in Bulgaria. I didn’t bought a ticket because of the highprice and my unwilling to listen to Manowar for a second year. The previous year I was on there concert and I was happy with it except I nomore I’m a real fan of Manowar since there band phisophy and preaching is hypocritic. I was happy to see that ex-girlfriend from my past Zornica,because it’s pretty probably that I won’t see her for a long time since there is a probability to go to study in the Netherlands in August, I should say that she is from the most beautiful girls I’ve seen in my life and for a moment I did fall in a sort of despair I was not able to keep her as a girlfriend long time ago. Happily thanks to God all this satanic temptation went away. When I came back to the Kavarna beach the friends there had already made a fire and was grilling some meat. I ate more than I usually had appetite for since there was a lot of food. Later I had a small walk around the Kavarna quay I prayed a bit during my walk there and afterwards came back to the fire camp but was too tired and it was pretty early in the morning (3:34) so I went to the tent where Nomen (Mitko) was already sleeping for 2 hours and went to sleep. I woke up a lot of times during the night and I remember the last time I woke up somewhere around 7:30. The day before I was thinking that I would like to go to a Church service just I do every Sunday and after I tried to fall in a sleep again unsuccesful and realizing I can’t because I felt cold and pain in my lower back so I stand up and decided to go to the Church in Kavarna for a Liturgy, A month ago I met father Vasilij there by the way is one of the most gentle priests I have seen in my life. The church service was just perfect. I think the people in that Church was a way more sincere comparing to the Chuch I usually attend here in Dobrich. What impressed me was that I was able to understand almost 100% percent of what the priest said something I usually can’t in the othor orthodox Churches where I’ve been on a Liturgy. The other thing that was I think great was that the service continued until 10:40 which is 30 minutes more comparing to the normal Church services I have attended before. Another thing that impressed me was the woman on the clergy they sang songs which glorified our Lord 🙂 Another thing that make sense to meis that the priest personally was giving the blessed communion (in the st. George I usually attend the communion is left alone and every could take of it), the priest also required to know my name :). Another thing was the incense odour it was smelling different from the one I’ve smelled before. The preach of the father was also very nice, the only word that describes it is the word “simple”. After the liturgy, Nomen calledand we said they’re already in Kavarna and are going to have a coffee. We went for a coffee and after that we decided to go to Topola Beach. Topola beach is a pleasent beach located near a village close to Kavarna. I didn’t know that there were plans to have a beach I thought we’re going only for one night. Happily Mitko (Metallicata) had his old bathing trunks with him and they fitted me. The beach experience was fine in general. At a point I and mitko decided to go to the small wood where one of the cars was perked and we spend some time there listening to music (Disco from the ’90s 🙂 and relaxing, we had to do this etherwise we would have bad sun burns which eventually were going to lead us to a painful burn condition at least for at least few days. On our way back to Dobrich both the drivers drived like a suiciders not following the road signs, getting ahead of other cars on a dangerous places etc. etc. I should thank God that he bring us home alive :)END—–