firebug

The site specified an invalid Strict-Transport-Security header - firebug

痞子三分冷 提交于 2019-12-03 23:31:26
I am getting this warning in firebug when adding HSTS header. The site specified an invalid Strict-Transport-Security header. here is my htaccess <IfModule mod_headers.c> Header append X-FRAME-OPTIONS: SAMEORIGIN Header append Strict-Transport-Security: 'max-age=31536000; includeSubDomains' </IfModule> When I remove quotes from the value I get Internal Server Error . Website is being served through https, redirect from http to https is set from apache's site file. SSL certificate is self-signed, if it matters. mod headers is enabled. Im on debian 7, apache 2.2. Thanks As @jhutar mentioned in

ajax problem - 200 OK in firebug but red message with no response body

早过忘川 提交于 2019-12-03 22:23:55
I have small ajax problem related to cross domain as i see it. On localmachine i created html example with some ajax: in registration text field user types 'username', on every keystroke ajax sends it to local Tomcat, where servlet checks if that username is already used and sends 'taken' reponse back. No problem on localhost at all. As soon as i type used 'username' servlet sends 'taken' response and browser displays it. But, when i put test html page with ajax on remote machine (some free hosting on remote network) that sends validation request on my localhost Tomcat, connection is made, in

Firebug - Breakpoint doesn't hit

落爺英雄遲暮 提交于 2019-12-03 22:03:14
I am setting breakpoints in an external JS file and I haven't been able to get Firebug hit the breakpoint in a consistent way. It works sometimes but most of the times it doesn't. The only way I can get it to work is by switching on "Break on all errors" I have used the debugger; statement as well without any luck. If the line numbers aren't green, it seems like Firebug cannot debug that part of code because it is out of scope. So, if you're using something like $(function () { ... }); Firebug will not be able to access Functions and variables. Does that make sense? Also, is it possible that

How to prevent users changing variables via firebug in ajax requests

限于喜欢 提交于 2019-12-03 21:51:08
问题 I allow my users to favorite an update or a forum topic. So when a user tries to favorite one of these i will send via Ajax 2 things, the item_id(update or topic) as id(ex. 1321313213) and its type("update" or "topic") as string. However lets say someones tries to favorite an update with the id untouched but the type is changed to "topic"(via firebug or whatever else)... This should not procceed since this combination is not correct... how can i assure that the item_id being sent is an update

hpricot with firebug's XPath

蓝咒 提交于 2019-12-03 20:56:32
I'm trying to extract some info from a table based website with hpricot. I get the XPath with FireBug. /html/body/div/table/tbody/tr/td/table/tbody/tr[2]/td/table/tbody/tr/td[2]/table/tbody/tr[3]/td/table[3]/tbody/tr This doesn't work... Apparently, the FireBug's XPath, is the path of the rendered HTML, and no the actual HTML from the site. I read that removing tbody may resolve the problem. I try with: /html/body/div/table/tr/td/table/tr[2]/td/table/tr/td[2]/table/tr[3]/td/table[3]/tr And still doesn't work... I do a little more research, and some people report they get their XPath removing

How to filter and show only applied CSS in Chrome Developer Tools (like Firebug in Firefox)

孤街醉人 提交于 2019-12-03 20:42:59
问题 Background story: I have a page with multiple CSS that override each other. There are so many crossed out CSS style, so I don't want to see them. I know Firebug on Firefox provide this feature (Only Show Applied CSS), which can show what CSS style in what CSS file is being applied (neat !). How do we have this feature on Chrome ? I tried install Firebug Lite for Chrome but no luck. PS: Chrome have Computed Style tab, but it does not show what style come from what CSS file. 回答1: In the Chrome

debug JS code which triggers an alert()

穿精又带淫゛_ 提交于 2019-12-03 17:45:15
问题 I have a system which is built using the ext-js library. Part of the system lists orders that are flowing through an online store. When a row is clicked, additional order details are shown. A few days back, a message saying "FIXME: created panelID..." began to appear as soon as a row is clicked. After that, normal functioning continues, i.e. the error message is just annoying and doesn't break normal execution after it appears. I am trying to debug the JS code to see under what circumstances

How to find out the piece of code that initiated ajax request

孤者浪人 提交于 2019-12-03 16:29:43
问题 I have MVC view, in that tens of javascript files are included. there are some ajax requests initiated from the page. I would like to know from which particular js file the call was initiated. I spent some time exploring Firefox addons - Firebug and HttpFox. Both are showing the http request, header , cookies and other hell lot of information, but nothing about the source where the ajax request was initiated. 回答1: I've been finding some of Chromes more recent debugging features very useful.

.NET WebBrowser - FireBug Style Inspect HTML Element

我怕爱的太早我们不能终老 提交于 2019-12-03 16:10:56
问题 Is is possible to use .NET 3.5/4.0 to Inspect HTML Elements in a WinForm Web Browser? Possibly using IHighlightRenderingServices Interface or Html Agility Pack? I would like the application to function like FireBug: Simply hover the element you want to inspect with the mouse and click on it. In versions of Firebug prior to 1.7 this automatically switches to the HTML Panel and selects the appropriate element inside the Node View. EDIT: Wow, I just came across http://www.selectorgadget.com/

How do I get watir-webdriver to start Firefox 4 with Firebug?

本小妞迷上赌 提交于 2019-12-03 15:18:16
Any ideas? I've tried setting webdriver.firefox.useExisting=true as described in the link below hoping to reuse an existing window with firebug enabled, but no such luck. http://code.google.com/p/selenium/wiki/FirefoxDriver you have to create a specific profile where Firebug is always enabled, then launch firefox with this profile in your configuration The quick answer is: browser = Watir::Browser.new(:firefox, :profile => "default") But if you are running tests you probably shouldn't use the default profile. profile = Selenium::WebDriver::Firefox::Profile.new profile.add_extension "/path/to