How to move custom built firefox/chrome to another system? - google-chrome

i followed chormium custom building instructions https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md
and build a chrome which is running fine
and i was able to do same with firefox
but the problems i am facing are
even after build is complete if i transfer the whole out/dist folder to a new system it will not work at new system so can anyone tell me how i can build a standalone/portable? what parameters i need for that? my target is to build a custom firefox and chrome (with minor changes in their code) on a server and then download the output to my own computer and other computers
the output build size is too huge for a browser? firefox is like 10gb and chrome is like 40gb. is there a way to reduce that size to reasonable size of a browser? or atleast to like couple gb's
first problem is the major problem,
i googled around and tried finding solution but i couldnt not find any.
i hope my problem is clear if not i will be available and filling to answer any questions.
help with either firefox/nightly or chromium or both is appreciated
Thanks

Related

Chrome application loading images from local source

I am creating a web application which is going to contain a lot of very high quality images. To go with it the same application will be available as a chrome desktop app. I plan on using webview to point to an online version of the application without the images and to include these images with the app.
Can this be done? I can't seem to find an answer to this and know from android this can be done with webview.loadUrl("file:///android_asset/image.jpg"); but can't seem to get something similar working with a chrome app.
Thanks.
You probably want to declare your local resources as accessible to your webviews. See https://codereview.chromium.org/22793018/patch/137001/138012 for a relevant example. I'm not able to find official documentation on this manifest key on my phone; please update this answer if you can.

IPython Notebook crashing Chrome tabs

I'm doing some work in an IPython Notebook session, and I now have a large-ish notebook containing code, some plots, and some embedded videos (of plot stacks; it seemed like the easiest way to be able to scroll through a sequence of plots interactively in the Notebook view). I'm working in Chrome (Mac, 32.0.1700.102) since H.264 encoding worked best (Vp8 compressed out shading detail in the plots that I needed), and Safari and Firefox don't render the videos.
Recently, this notebook has started crashing Chrome tabs every couple minutes (showing the 'Aw Snap' page). It's become basically unusable. I can work, saving very frequently, but saving the notebook causes the Chrome tab to crash about half the time (which makes me wonder if the random crashes that occur when I'm working are caused by the autosaves, but I don't know).
Has anyone else encountered this? Does anyone know how to fix it? Is there some more information I can provide to diagnose the problem? Thanks for any help.
I had the same problem in 32-bit Chrome on my Windows 8.1 Enterprise PC. Chrome often crashed while running a large jupyter notebook (~100 MB on disk). It got a bit better after upgrading my chrome to the 64 bit version. However, jupyter still complained about the size of the notebooks, crashed once in a while, and my notebooks could not be saved. This issue was discussed here:
https://github.com/jupyter/notebook/issues/650
The quick fix proposed here was to increase the value for self.max_buffer_size in env/Lib/site-packages/tornado/iostream.py (line 154, in case of version 4.4.2 of tornado). I changed the value x10, and now a notebook larger than 130 MB runs without any problem.
I was experiencing the same issue. Actually I found this is related to chrome extensions installed.
Try disabling all the extensions and re-enabling them one by one. You'll find which is crashing your tab. In my case, crashes were due to the Evernote extension.
Alternatively, you can open up an incognito window, which has all the extensions disabled by default, and try opening your notebook there.
Ciao

Allow multiple instances of Google Chrome?

Disclaimer: This may be a better question on SuperUser, but my use
case matches SO.
I'm trying to develop an Angular app on my local computer; I'm not yet ready to set up a webserver or anything like that. I'm loading some JSON configuration files from the same directory, and I'm running into Origin Policy issues (which was expected).
I know that programs like gChat can run multiple instances with the /mutex flag (I think that's it, it's been a while since I tried that). Is there any such provision for Google Chrome? Basically, I'd like to run Chrome as my main browser for everything I do, and then open a separate instance with lowered web security for testing purposes.
Thanks!
You can bring up a development web server, serving data from the current working directory, using:
python -mSimpleHTTPServer
This doesn't directly answer your question, I know. But hopefully it's even better than a direct answer. :)
I found a solution to this - although Chrome won't let you run multiple instances, you can run Chrome and Chrome Canary side-by-side simultaneously. So now, Chrome is my main browser, and Chrome Canary (with the --disable-web-security) flag is my testing environment. So far, I haven't had any issues with discrepancies between the browsers.

Chrome 22 Developer Tools - Global Sources Search not working right (ctrl-shift-f)

this morning I noticed my Chrome updated to Chrome 22 and that the search in the top right has been removed and can now be accessed with ctrl-f.
I also noticed that ctrl-shift-f is no longer working as expected... (but this is inconsistent)
The global search has been a huge time saver for me, and now sometimes it doesn't work until I've viewed a script at least once.
For example, I have 5 scripts that I know all contain "fn_init"
I search for fn_init and nothing comes up.
I open one of those scripts and then ctrl-shift-f again, and finally get a matching result for just the one file...
Is this working as intended? Am I missing an option or something? My dev tools config options are:
General
Disabled cached
Sources
Show folders checked
Search in content scripts checked
Also: how can I install an older version of Chrome and stop it from updating automatically?
To get an older version of Chrome your best bet is to find a build of Chromium from https://chromium-build.appspot.com/p/chromium/console however if this if for devtools stability you are missing out on a lot of new features and bug fixes.
As for Search across all files it is still there and CTRL-SHIFT-F on Windows and CMD-OPT-F on Mac. See Addy Osmani's post https://plus.google.com/115133653231679625609/posts/e4W2kdrFJY9
If you find issues as bugs, it is better to raise the issue on http://crbug.com/new as it will get direct attention from the engineering team there.

Chrome 21.0.1180.83m - where is devtools.js located?

I want to perform a hack on devtools.js to expand all of the DOM elements by default. I read in another post on here that this was possible.
However, I can't find devtools.js, or for that matter, the Application folder that supposedly exists at C:\Users\Administrator\AppData\Local\Google\Chrome. I've tried this both on my Windows 7 laptop and my Windows XP desktop (different path for the desktop, obviously) and the folder doesn't even exist...which leads me to believe it's somewhere else and named something else. I'm showing hidden folders on both machines, so that's not it, either. I even searched both computers...no devtools.js file on either one.
Where would I look for the devtools.js file?
It appears to be packed in a file called resources.pak. The package seems to contain a lot of other (binary) files as well, so I'm not sure if you're going to have much luck editing it.
Might be a bit late to the party but i was searching for a very comparable question i had and found some answers, so i thought i'd share my findings.
It seems that the devTools.js and also the other files for the DevTools front-end are packaged inside the browser.
So there is no file on your hard-drive named devTools.js, there is an option to get the source for the Developer Tools and use it as a stand alone front-end though.
On this page i found some instructions as to how you would go about using your own front-end.
http://dev.chromium.org/devtools
Good luck!
PM5544