How does my Site look in other countries [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just made some changes to my website, it will display different greeting text for different continents, I have used Google's API to get location of the user
region = google.loader.ClientLocation.address.region;
country = google.loader.ClientLocation.address.country;
countrycode = google.loader.ClientLocation.address.country_code;
But now i want to test this, so is there any way that i can access my site with the IP of another continent or country, or any other solution for this.

I've built a tool that you might find useful, called GeoPeeker. In my own testing I found proxies to be unreliable, so I designed GeoPeeker to use actual servers that render a site and provide DNS information from various remote locations. It's handy for troubleshooting CDN and DNS issues.
It's also free to use and there are no ads.

You could use an online proxy service, located in the country you want to test for. A list of free online proxies can be found at http://proxy.org/.

Related

Is there a way to use Single Sign On(SSO) with my-website's account on other websites? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
So I want to make an app store like Epic Games(let's name it "AB"). I want that the game developers can integrate my website with their games so they can provide a "Login With AB" option on their login page. Is it possible?
Thank you for reading my question!
What you are requesting is an sso (Single sign on), the equivalent of Google sign. YOu need to provide an api to return a refresh/access token from your website, and a way to authenticate the same. Also provide details of the logged in user to the requesting website.
Its actually available in the market as various opensource projects as well.
Readup on OpenID, OAuth2, SSO, Keycloak etc

Multiple School Management System with Firebase [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have an idea to develop a multiple school management system web app using Google firebase, but I don't know how go about it yet because am still a young programmer. please can anyone help with the followings.
How the data base will look like in firestore.(In such a way that it
will accommodate multiple schools, staffs and student.)
The security Rule to deny and allow access to Collections and Documents
Please also suggest a better and easy way this project can be achieve. THANKS
Make the security only private read and write in the firebase CLOUD database, so that only you can write or read to the database. Make sure that the firestore structure has a collection of "schools" where you can put separate schools in the collection with the fields of name, location, and other information about the school. The ID is automatically provided. You should be able to work something out of that from there. Please mark this as the answer if this was helpful by clicking the checkmark.

How to retrieve Amazon prices using JavaScript [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 days ago.
Improve this question
I am well aware that there are methods of retrieving Amazon prices using JavaScript. I have seen the Amazon Advertising Product API, but frankly, after creating an account, I do not how to use it. I have looked at guides, and I am still confused. Can someone guide me through the code of the Amazon Advertising API, or can someone give an alternative? Thank you.
This is for a school project. I have a basic understanding of JavaScript.
You can use the ItemSearch endpoint with the Amazon Advertising API. The prices are contained within the MinimumPrice and MaximumPrice fields.
https://webservices.amazon.com/paapi5/documentation/search-items.html

How to get UUID specific to a PC in Chrome extension [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have my PC extension for google chrome, the extension is something like Sync ( Bookmarks, tabs etc). In order to associate each Bookmark and tab with the PC/Desktop/Machine on which it got created/modified. For which i may have to generate my own unique id along with ( for ex:- SerialNo_myown_unique, CPU_No_Myown_unique, MAC_addr_Myownuniqueno etc). So all i want to know is, how do i generate this using Javascript, as most of the blogs and articles i explored have not given clear instructions about how to do it?
Can someone help?
node-uuid will generate RFC compilant UUID strings for you. While these won't depend on the machine they are generated on I don't see why that should be necessary. You can generate a machine uuid once when your extension is installed and associate that with a user account on your service.
Alternatively you could just handle this on your server and request an id from the server after the user logs into his or her account after the extension has been installed.
In general, what you are looking for is called device fingerprinting and is a rather large issue for privacy. That is also why it's (thankfully) rather hard and imprecise to do. The Mozilla Wiki has an interesting collection on some techniques. You can test how unique your browser configuration is on Panopticlick.

Access restriction with JavaScript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have an application done fully in JavaScript using Ember.js. What I want help with is the following:
I have two account types: basic and premium.
Depending on what account type the user have I wish to display ads him.
The user can use parts of my application only if he has a premium account.
What I must have in mind in order to protect my application so it's secure against people trying to use premium features without having that privilege? Because all Javascript will be sent as a single file, people can just look at all my app code and maybe reverse it or even copy it and use locally without even entering my site, which would put all my effort to waste.
Your client side code shouldn't be considered more than sugar for the user's experience, not a layer that is trusted.
That means your backend should be pessimistic in nature, not trusting requests from the client, but making sure they can make said request, and sanitizing any data sent to them assuming the user is trying to do harm.

Categories