How do I trick my internet browser that I'm using 32bit Operating System even it's a 64bit application - operating-system

Some websites detect my operating system architecture automatically and I don't know how they get the value (eg. 32-bit / 64-bit OS). So they can use the value for the following case:
Example of the case:
If I want to download something for Example 'Google Chrome', the Google Chrome Download Page thinks that I'm using 64bit operating system and thus it downloads 'ChromeStandalone64.exe for me. If I want to download the 32bit, I need to be on the 32bit OS OR I need to click on the other platform. This is just a use case example.
So in general, my question is how do I trick the browser (using any scripting language) that I use 32bit OS ? I know there is a chrome plugin that disguises the Chrome browser as different browser like Safari, Internet explorer. it works. but what about tricking the browser as 64bit or 32bit?
Edit: Please do not give me the answer how to download a Google Chrome. I just gave an example of the case.

For Google Chrome, you could try clicking on "Other Platforms" near the bottom of the https://www.google.com/chrome/ page, then choose the 32-bit version. If you install and browse with the 32-bit version, you may automatically get offered 32-bit versions of other software.
Another option would be to edit your user agent string. (Updated with more details:) The user agent string is the text that your browser sends to the web server to identify itself, e.g., "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36". On Chrome, it's a little convoluted to change, but you can find instructions at: http://technipages.com/google-chrome-change-user-agent-string . This may help, but not if the web servers use some other method to identify your machine as 64-bit.

Websites can use either the User-Agent string which you can change with a browser extension, or the Javascript window.navigator.platform value which I don't believe an extension can change.
There is a "Download for other platforms" link at the bottom of the page that lets you download Chrome for 32-bit Windows:

Related

Remote debugging Chrome on Android while offline

If I'm on a plane or do not have connectivity, remote debugging Chrome on Android fails with a blank window. What can I do?
When you remote debug, Chrome need a version of devtools that matches your mobile browser version. So it loads that specific version off the network. Once they are downloaded, they are kept in AppCache, so you only need to have network available once.
So as long as you start debugging a device (that particular Chrome version) once while you're online, you should then have all those files available later when you're offline.
But there's another workaround to avoid downloading the devtools version:
follow the instructions of https://developer.chrome.com/devtools/docs/remote-debugging-legacy down to (and including) the adb forward tcp:9222 ... section.
open http://localhost:9222/json/list (on your desktop)
find the tab you care about and copy the webSocketDebuggerUrl of it
wsurl = webSocketDebuggerUrl.replace('ws://','')
open this URL (on your desktop):
chrome-devtools://devtools/bundled/inspector.html?ws=${wsurl}
This will use your desktop's locally installed version of DevTools to inspect the phone. There is a possibility of a compatibility problem, but hopefully it should be small.

Is the Eclipse web browser using the default OS browser?

Is the Eclipse web browser an instance of the SWT Browser class or is actually using one of the browser I have installed in the OS? i.e: Chrome or Firefox, if so, is there a way to determine what browser is using?
I believe that if you are using a Linux distro, your default browser will be Mozilla Firefox. If you are using Windows the default is IE (this might have been changed in the current release of Eclipse). You can choose between internal and external browsers here:

MAMP Fails to Open Safari Web Page on Mac

I have installed MAMP V 3.5 today on Macbook Air, OS X El Capital, V 10.11.2 When I launch the application, the Server shows it is connected to Apache, but the web browser (Safari V.9) fails to open the page. the URL reads
http://localhost/MAMP/?language=English
Safari doesn't work for me, even though it's my browser of choice.
Try Chrome, and make sure you type: localhost:8888/
(or whatever port number you choose, if not the default)
Hope that helps.
Tyler

eclipse for chrome?

I use eclipse IDE for developing my GWT and android apps. I would like to transition to a chromebook for my main development computer, but I can't figure out how I would get eclipse "installed". There is no chrome app version of eclipse, at least not that I can find. I do see that there are other IDEs in the chrome store, but I don't think they would have all the nifty helper plugins that eclipse has for google developers. Anybody know if a chrome version of eclipse is coming? Do others share my desire to develop on a chrome book?
Eclipse is not coming for Chrome OS. You need a JVM to run it and one of the compatible desktops for the UI widgets. So you would have to escape from Chrome OS desktop into base Linux and somehow launch a regular Linux desktop (like GTK) to have any hope of running Eclipse. Also, a typical chromebook is far too underpowered to run a full IDE.
Here are some options to consider:
Project Orion - A web based IDE from many of the same people who develop Eclipse. One of the goals is to enable Eclipse-like capabilities for platforms like iOS, Android, Chrome OS, etc. It has quite a few base IDE capabilities already, but not a lot of plugins just yet. Probably not going to see something as sophisticated as ADT for a while if ever. Google would have to implement Android emulators in JavaScript. Not an easy task.
Run Eclipse on another machine and use a remote desktop from your chromebook.
Run Eclipse Che on another machine or cloud server and use Chrome
The most straightforward and transparent way I was able to do so was to do a combination of things (some of which was mentioned in previous answers):
install crouton (alongside an ubuntu chroot) - this is not dual booting but running Ubuntu side by side with Chrome OS just alternating between both windowing systems.
install crouton chrome extension & xiwi - this enables running the X11 windows in the ubuntu chroot as native Chrome OS windows that can be easily alternated into.
install a JDK inside the ubuntu chroot.
download, mount and execute eclipse-installer.
once the eclipse distribution of choice is installed, for ease I symlinked the main eclipse executable to /usr/local/bin/eclipse and am able to run it from Chrome OS via crouton/xiwi: sudo startxiwi eclipse
Here's a screenshot of what it looks like when done:
Eclipse requires a JVM (maybe even a full-blown JDK), so there's no way to make it into a Chrome app. You could enable developer mode and try to install a Linux JDK since Chrome seems to be running Linux under the hood.
Do others share my desire to develop on a chrome book?
The solution is to load a normal linux distribution and run IDE from there. I'm using a netbook with intel n260, 1G ram, 1.6G Hz. NetBeans runs quite well. A chromebook runs more than twice faster, I'm sure it will be good enough.
As to how to load a linux, there is the Ubuntu on Cr-48 page that explains how to do it in depth. And also this very user friendly blog on arstechnica, or this blog on liliputting. They both point you eventually to the ChrUbuntu, that is a hand-re-packaged ubuntu with some scripts to ease your work.
You can install ubuntu via crouton (for more info: https://www.youtube.com/watch?v=d_MuVwJq_XQ&list=FLFel7rdB1nWQSjsJCaepEOg&index=1) and then you can install eclipse I'm not sure if you can install the ADT from the android sdk website but you can install the plugins from the eclipse website, third party developers, or if you really want to download it from the android sdk website you can probably get it to work with a little efort.
:) Enjoy
Yes! I share your desire to program on a Chromebook! While I am still a high-schooler, I am an amateur Java and Python programmer. My school provides with a class set of about 30 Chromebooks per classroom, and I didn't know how to run my code on them. I had Eclipse on my Windows desktop at home.
When I looked around online, I found something called codenvy.io. It is basically an Eclipse Che IDE that runs online. It uses Docker images to start up a workspace, runs all in the cloud, and a free account has 3 GB of RAM.
It suited my needs, and I loved it! You should check it out.

which version of mobile firefox in android, fully supports extension?

I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon to mobile firefox using addon-sdk. in this step i am getting different types of errors.
1.some addons installed with disable mode, but not working enable/disable option.
2.for some addons, i am getting "addon installed,restart required" option, but after restart, addon not visible in addon manager
please, provide atlesat one working way, to develop and install firefox addons(any simple) in fennec(any version) in andoid (any emulator/any mobile).
Thanks,
You are asking the wrong question. Any version of Firefox Mobile supports extensions, no problems here. However, its user interface is very different from the desktop Firefox which means that extensions built for the desktop Firefox usually won't work without adjustments. So the correct question would be:
Which version of the Add-on SDK supports Firefox Mobile?
You need Add-on SDK 1.5 or higher. When running cfx you will have to use --force-mobile command line flag to make sure that your extension is marked as compatible with Firefox Mobile. There will still be limitations however, most SDK modules currently don't support Firefox Mobile. Add-on SDK 1.8 lists the following modules as supporting Firefox Mobile:
page-mod
page-worker
request
self
simple-storage
timers
Wladimir is correct, and I would only add that we are working on expanding module support on native Fennec. If you want to play with some additional Fennec features in an SDK-based add-on right now, you can get access to the NativeWindow and BrowserApp objects Fennec implements by using this code in a module:
let utils = require('api-utils/window-utils');
exports = {
BrowserApp: utils.activeBrowserWindow.BrowserApp,
NativeWindow: utils.activeBrowserWindow.NativeWindow
};
The documentation for these objects is on MDN:
https://developer.mozilla.org/en/Extensions/Mobile/API/BrowserApp
https://developer.mozilla.org/en/DOM/window.NativeWindow