Where is the firefox title located in the source? - firefox

This may seem like an odd question, but does anybody know where or how to locate the title in the firefox source code? like firefox.exe and the default home page source and such?
Google yielded no results, same as on the firefox page.
Looking for it manually would take a while, considering the sheer size.

The latest source code for Mozilla Firefox is nicely indexed on DXR in a searchable form (you can even use regular expressions there!).

Related

How to getrid of Search.sidecubes

Malware Search.sidecubes has affected by mozilla firefox
Using google, I uninstalled all programs which could be related to searchcubes, further I deleted all add-on's and also checked regedit, about:config, checked folders in ../users/appdata/local/mozilla etc etc. I managed to get rid of search.sidecubes getting set as homepage.
But now even after selecting google as default search option (including about:config page), whenever I search anything in search toolbar of firefox it always redirects to search.sidecubes instead of Google.
same issue is also happening in google chrome
I'm not sure your question is well suited for SO. Anyway, Mozilla SUMO has a nice support guide about how to deal with malware on Firefox.
Some suggestions extracted from that page:
If you're executing Firefox from a link, make sure the link does not contain any undesired command line option.
Use the SearchReset addon to clean up your default page and reset settings.
Scan using Malwarebytes Anti-malware free.

Firefox change adress bar behavior to google search

Is there a way to change the behavior of the address bar in firefox 38?
I would like to be able to type in the bar and it autocomplete from google, instead of my history.
I no previously this was accomplished by changing keyword.url, but this no longer exists in the newer version of Firefox.
Is there a new method someone has found to achieve this?
I don't know if the source of the suggestions can be changed, but the default search engine can be changed by going to Settings>Customize>Search (on Android) or [Magnifying glass]>Change search settings (on desktop).
This might result in different suggestions. (I infer that you're using desktop, since Android Firefox seems to give decent suggestions, only the wrong search engine.)
I found these instructions out on https://duck.co/help/desktop/firefox by searching "how to make duckduckgo default search engine in firefox on android", on DuckDuckGo, in case you want to make further discoveries along the same route.

where can I download this code

I find a interesting website:http://www.brightpointinc.com/interactive/political_influence/
I want to learn its visualization using d3.
But when I download it, using right click button-------- save as The download page seems does not work. It seems lack some data, so I get back to the website to download some data, but it lacks some of them, can anyone send me an work version? thanks
As Lars says, your best bet is to look at the source code. To do this, you can use something like Chrome Developer Tools or Firebug for Firefox. I use the latter, so I'll take that as an example.
First, I'd right-click on the visualization itself, and click on Inspect Element with Firebug. This will pull up the HTML, which is only semi-helpful, since it only shows the output rather than the JavaScript code which created it.
To get at the JavaScript, you can use Firebug's Script tab. Most websites have more than one script, so you can hunt through the scripts being used by browsing through the dropdown menu in the second toolbar. The _buildChords.js script looks the most promising; that has some recognizable d3 code in it. You could check out the others to see what else they're calling (since it looks like there might be others - data.js, events.js, and so on).
Happy learning.

Guide for Carrot2 in PDF

Could you please say if there is a pdf (or doc) version of the documentation? If yes, where can I find it?
If such does not exist, I guess it would be great to create such.
PDF allows reading the file in Mendeley Desktop program, underlining parts that are important for me and putting comments. THis would be a great advantage to compare with the html version of the guide.
If you're using Chrome, just go to the Carrot2 online help manual and choose "Print...". In the "Destination" box on the left-hand side change it to "Save as PDF" and click OK. This functionality is built-in to Chrome by default.
For other browsers I'm sure there are add-ins/plugins you can find or you can always use a third-party PDF driver like PrimoPDF.

How to make a site-lookup addon for Firefox?

I'd like to create an addon for Firefox that would enable me to search a particular site by selecting text on one site and choosing to search another site by selecting that option in the context menu.
I already have an extension like that in my browser - the Wikipedia Lookup extension. Basically, I want the exact same functionality but which will send the search text to a different site.
I'm completely new to Firefox addons, so can somebody tell me what's involved in this? Or point me at a site with a list of instructions to do a plugin like this? I can see examples on how to make a Hello World kind of plugin but I can't see how to extend that example into what I need. Thanks.
Have you considered opening the Wikipedia extension source and modifying the pointer from wikipedia.com to the other search site? This is assuming you're using Windows Vista or higher. The source code should be located at:
C:\Users\YourUserName\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\extensions\something#wikipedia.com\chrome\content
You would then have to modify the source code inside to change the pointer, and the POST variables string to match that of the site you will be using.
I hope this at least points you in the general direction!
-Alex

Resources