logs archiveIRC Archive / Freenode / #firefox / 2015 / November / 14 / 1
porton
I want a Network "console" just like Chrome, which shows times of loading various parts of the page and most importantly show server responses to XMLHttpRequest
share
you want chrome
porton
share: no Firefox extension for this?
Caspy7
porton: I'm not really a dev, but I'm guessing Firefox's dev tools, network view does not do the trick?
porton
Caspy7: how to install Firefox's dev tools?
Caspy7
porton: hit F12
porton
Caspy7: Thanks, it seems to work
Caspy7
great
porton
Caspy7: no, it doesn't. I see a HTML mess instead of a .js file loaded
is it a Firefox bug?
weird, now it seems to work, despite not working previously
         

Caspy7
as I said previously, dev tools really isn't my gig
b0at
i think he was just on the wrong tab
Canterw00t
Hey guys, I'm using Firefox on Windows 10 on a pretty old Samsung laptop. It just keeps loading.
Any ideas?
Every time I enter a URL and hit enter it just keeps loading. No errors, just loading. Already tried the suggested help solutions (deleting cookies, reinstalled Firefox). It started after the Fall update for Windows.
kbrosnan
does a new profile work?
Canterw00t
Good idea, I'll try.
kbrosnan
https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems
waressearcher2
is anyone here ?
share
no
waressearcher2
how do I join ?
Canterw00t
Thanks kbrosnan! That seemed to solve my problem.
Bookmarked. :)
waressearcher2
why can't I
join ?
advcomp2019_
i wonder what he cant join :/
Canterw00t
Me too.
stoneman1
Hello. I wanted to ask a question about a behaviour of the ssl-exception function in firefox? Is this the right place?
I dont think it's a bug but it looks like a really weird and confusing behaviour. I will explain further if this is the correct place
Peng
It's one correct place. #firefox on irc.mozilla.org tends to be busier, though.
stoneman1
Ok I will try here first. :)
I've signed my own certificate for my server. When trying to connect the server showed me as expected the sec_error_unknown_issuer error. I added an exception. And the site loaded. Until here everything is fine.
Then I changed out of curiosity the certificate (and the private key) on the server. And tried reloaded the page. And firefo seems to keep accepting certificates which are different to the on being saved initially.
Infact when looking into the certificate being displayed in the url bar. Its the one which was saved and not the one being send.
So the exception is domain related not certificate related, correct?
auscompgeek
I think you're just still sending the old cert that you have saved
stoneman1
Not sure I'll check again but I changed the certificate path in the apache config and restarted the server.
I also deleted the firefox cache. But I'll try again.
Ok I checked again and I sended the new certificate but somehow the cache wasn't deleted (atleast after deleting I got the warnign sign again). So sorry for wasting your time. Bye.
purpleidea
dear hackers, i'd like to have it so that links matching a certain pattern (or with a certain prefix) open in a different profile. I was hoping there was an existing plugin to do this, or someone could point me to how i could accomplish this. thanks. PS: i'm fine if links matching a certain pattern just run ~/bin/myfirefox instead, because i could match there and run firefox -P someprofile there.
SlashLife
purpleidea: Are you talking about links within websites or links elsewhere that result in firefox being launched by external applications?
         

purpleidea
SlashLife: links within websites, gmail webui, etc...
SlashLife
mkay ... no idea how that would work then. Maybe "Redirector" can help you with the link matching part. If you could register a new URL schema, you might be able to have that opened by an external application and then your redirect your requests to that new schema.
For example: Redirecting http://google.com/* to http-external://google.com/* and then register an external application for it.
Note that this is just a guess into the blue. I don't know whether it would work that way, I just imagine it could.
Also note that this would allow other people to just create http-external:// links on their websites to trigger this behaviour (though unlikely).
purpleidea
SlashLife: right, so well i figured out a way to add the thing i want for new protocols, like you said, http-external:// however, how do i get the redirector thing you mentioned to change the protocol for certain links... can you give me more info on that first part please?
SlashLife
And make sure you have an idea how you want to handle sub-requests. For example if a website you don't want to open externally embeds images or scripts with URLs marked to be opened externally.
There is an addon called "Redirector"
purpleidea
SlashLife: let me have a look there to start, thanks
SlashLife
You can specify regex or wildcard strings to match URLs and then automatically redirect them to new URLs.
purpleidea
SlashLife: this looks very promising, thanks!
SlashLife
It will also allow you to specify whcih kind of requests you actually want to redirect. So you could choose to redirect only address bar URLs, but not embedded requests.
*which
And I'm not 100% sure if it will actually work with arbitrary URL schemas; I know that it doesn't work with javascript URLs.
purpleidea
testing...
SlashLife: it at least works with mailto:// protocols, if i add a myname-protocol, it doesn't open the link regularly, although i don't get the "i don't understand protocol" message... so now to test custom protocols calling a script!
SlashLife
Good luck!
purpleidea
SlashLife: i tried this: https://askubuntu.com/questions/161553/using-a-custom-protocol-handler-in-firefox-to-run-a-shell-script and it doesn't seem to work... I just get: The address wasn't understood
Firefox doesn't know how to open this address, because one of the following protocols (ghttps) isn't associated with any program or is not allowed in this context.
o wait
SlashLife
"The shell script originally only contained the line"
When I read this, my first thought is that this shell script should get a shebang line.
purpleidea
SlashLife: no it's not that, hang on
SlashLife
Oh, that also was the answer. :D
purpleidea
SlashLife: oh sh*t, the whole chain works ... your plugin, and the custom protocol... two small issues:
1) when you click the link, it opens a new window, which is effectively useless and is blank and isn't useful
2) would be sweet if i could make a foo.sh file to set all of the various settings, plugin installs, and so on...
SlashLife
Does the link usually open in a new window, too?
purpleidea
SlashLife: this is awesome, thanks again!
SlashLife: good point
SlashLife: yeah
it does
SlashLife
It doesn't make the empty window any less annoying, but it shifts the blame.
purpleidea
so i guess that's why
true
that should be something someone should patch into the redirector extension!
SlashLife
So it's a separate issue - maybe a greasemonkey script could inline those links.
purpleidea
no biggie, i can live with that.
SlashLife
Well, I don't think the redirecotr is to blame here.
*redirector
purpleidea
(looks at redirector code)
why not? sure it is, no? you think it only activates after the windows opens, not before?
SlashLife
imo it'd rather be firefox which should close new windows/tabs which are opened externally.
(Without ever getting content to display.)
For example the same thing for downloads: If you open a download link in a new tab, it'll leave you with an empty tab with an empty address bar.
And opens the download dialog over that empty tab.
purpleidea
SlashLife: good point... empty windows with download thing too... i also have this issue sometimes. i don't suppose you have a bz about that, do ya?
SlashLife
As for your second question: I'm not sure what exactly you want to do there. But I think if I was going to go for such a handler, I'd make one separate protocol which would lateron be passed the full URL.
So contrary to my example earlier, it'd rather be: http://google.com/ -> firefox-profile://http://google.com/
That would give you the option to add a "path" with some limited additional information in there: firefox-profile://profile=evil-trackers/http://google.com/
purpleidea
SlashLife: oh, no it works, the question is is there a way to run a script to add about:config variables instead of having to do them manually?
SlashLife
You could then pull out that information with some shell-fu to turn this into /usr/bin/firefox -P evil-trackers http://google.com/
purpleidea
SlashLife: and i'm going to write this all up on my blog, want to be linked, or have name or neither?
SlashLife
Ah.
about:config overrides are stored in a file. Not entirely sure of the name, but I think it was user.js or something.
prefs.js, actually.
%appdata%\Mozilla\Firefox\Profiles\%profile%\prefs.js on Windows.
purpleidea
cd .mozilla/ && ack -l ghttps (my protocol name) looks like prefs.js
« prev 1 2 next »