LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-31-2025, 10:22 PM
|
#1
|
|
Senior Member
Registered: May 2007
Posts: 1,395
Rep:
|
Probably old change: does LQ demands having javascript, now?
[ Log in to get rid of this advertisement]
Hello. This may be some fairly old change. But I used to use linuxquestions.org site having it as great site, and knowing it needed absolutely no javascript to work. Is this changed now? I tried to open it with javascript disabled, and the page I got has only one sentence written in it:
Quote:
|
Enable JavaScript and cookies to continue
|
What is the reason for this change? (I imagine the answer for the first question may include this, but if it does not...)
|
|
|
|
04-01-2025, 12:21 AM
|
#2
|
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,323
|
I used to be able to use the graphical version of Links on this site and that doesn't have a javascript engine. It runs like lightening but it doesn't work here any more. The problem is Cloudflare; you need javascript to get past their fences. On the other hand, if Cloudflare wasn't there, we'd have DDOS attacks all the time. We've seen some examples lately.
It's an example of the gradual ensh**ification of the internet.
|
|
|
|
04-01-2025, 01:12 AM
|
#3
|
|
Senior Member
Registered: May 2007
Posts: 1,395
Original Poster
Rep:
|
For me, it was never speed...
Quote:
Originally Posted by hazel
I used to be able to use the graphical version of Links on this site and that doesn't have a javascript engine. It runs like lightening but it doesn't work here any more. The problem is Cloudflare; you need javascript to get past their fences. On the other hand, if Cloudflare wasn't there, we'd have DDOS attacks all the time. We've seen some examples lately.
It's an example of the gradual ensh**ification of the internet.
|
For me, the problem was never speed. And I never had any computer (or any kind of device) comparable to the best top ones at each period. But some "modern" things are simply just annoying, and they are so "modern" that they do not work.
Cloudflare does not like my "not standard browser" UA string. And it seems to be simply for that, it presented me with its screen. I had to make no test, though, which is good (I assume). But in the first access, just open the domain of the site, before I login... show captcha due DoS risk? Seems like too much...
(...)
I have much difficulty to use some kinds of captcha tests, of some companies. In one of them, which I would not be able to do the default test it presented me, I was able to see which alternative it could have for the test. And it mentioned an "accessibility cookie", and the simple reading of these words surprised me a lot! I chose that. And it asked me to create an account in page of that company, warning that none should abuse that. "Fine... of course this should be no problem" — I thought. For the account creation, initially, all I had to write was my email address and a password to use there. It seemed great... except that page complained that I should use a REAL email address! It said my email address was invalid! And since we are in the programming forum, I will just write a reguler expression that fits my email, so you see how simple and direct it is!
[a-z]+@[a-z]+\.[a-z][a-z]
Writing the above regex in human words, we write my email address with a sequence of: at least one lower case letter, it will be less than 10; an "@" symbol; at least one lower case letter, it will be less than 10; a dot symbol; two lower case letters. This is the email I wanted to use there. Invalid... do you think so? It does not even has subdomains, more dotss, numbers or underscores in the address! I even tested the above regex with a file which name which is exactly my email address, and made a 'rename' command (the Perl rename command version 1.13, which I have installed in my Debian today, and I love this command much more than other "rename" commands I have found around... I have this program saved separately, to take it anywhere! It is the best, IMHO!) to find my "email file": perfectly found.
(:
|
|
|
|
04-01-2025, 03:15 PM
|
#4
|
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,444
|
I don't access this site with javascript, images or cross site scripts turned on. It loads fine.
Looks like this when you do it that way:
https://0x0.st/82j7.png
Which is fine for me. All I want to do is read the posts.
Every now and then, while trying to post in a code block, I'll have to turn scripts on to satisfy cloudflare. It depends on what the post is.
|
|
|
|
04-01-2025, 03:20 PM
|
#5
|
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,444
|
Let me see about today.
Code:
#/usr/bin/python
#python-geopy
# importing geopy library
from geopy.geocoders import Nominatim
# calling the Nominatim tool
loc = Nominatim(user_agent="GetLoc")
# entering the location name
getLocA = loc.geocode("Gosainganj Lucknow")
getLocB = loc.geocode("Moscow Russia")
getLocC = loc.geocode("Erlangen Germany")
getLocD = loc.geocode("Miami Florida")
for loc in getLocA, getLocB, getLocC, getLocD:
print(loc.address)
# printing latitude and longitude
print("Latitude = ", getLocA.latitude, "\n")
print("Longitude = ", getLocA.longitude)
Edit:
I could post that today with scripts off.
Last edited by teckk; 04-01-2025 at 03:26 PM.
|
|
|
|
Today, 02:14 AM
|
#6
|
|
Member
Registered: Oct 2022
Posts: 103
Rep:
|
No JavaScript required. Thankfully.
I created this post with JavaScript disabled. Thankfully it is possible.
JavaScript should never be mandatory on any website, only for enhancements that are not possible otherwise. This is why I hate Discourse. Discourse's heavy and bloated JavaScript supports the bloat monopoly of Google. Why it's bad.
Last edited by exerceo; Today at 02:15 AM.
|
|
|
|
All times are GMT -5. The time now is 02:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|