Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules are not applied automatically after browser startup #6

Open
GoogleCodeExporter opened this issue Apr 30, 2016 · 9 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Enter a header "X-Test:hello"
2. Click on "=== Apply ==="
3. Load https://w3bt00l.appspot.com/ht
4. Close and restart browser
5. Load https://w3bt00l.appspot.com/ht

What is the expected output? What do you see instead?

In step 3:

Powered by : http://w3bt00l.tk/  << please click just once !!
Optimized for HeaderTool Firefox Plugin
Host:w3bt00l.appspot.com
Accept:text/html
#Accept:application/xhtml+xml
#Accept:application/xml;q=0.9
#Accept:*/*;q=0.8
Accept-Language:de-de
#Accept-Language:en-us;q=0.5
Accept-Charset:ISO-8859-1
#Accept-Charset:utf-8;q=0.7
#Accept-Charset:*;q=0.7
X-Test:hello
Cache-Control:max-age=0
User-Agent:Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
X-AppEngine-Country:DE

In 5:

Powered by : http://w3bt00l.tk/  << please click just once !!
Optimized for HeaderTool Firefox Plugin
Host:w3bt00l.appspot.com
Accept:text/html
#Accept:application/xhtml+xml
#Accept:application/xml;q=0.9
#Accept:*/*;q=0.8
Accept-Language:de-de
#Accept-Language:en-us;q=0.5
Accept-Charset:ISO-8859-1
#Accept-Charset:utf-8;q=0.7
#Accept-Charset:*;q=0.7
Cache-Control:max-age=0
User-Agent:Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
X-AppEngine-Country:DE

The output of 5 should be the same as in 3

What version of the product are you using? On what operating system?

0.4.1 on FF 7.0.1, Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 6 Nov 2011 at 10:41

@GoogleCodeExporter
Copy link
Author

Yep you are right, the state is not persisted after restart. 
I'll implement it in the next release.

Original comment by [email protected] on 7 Nov 2011 at 4:53

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Hi attached a modified version with state persistent, please retest it and let 
me know if it's ok 

Original comment by [email protected] on 10 Nov 2011 at 8:49

Attachments:

@GoogleCodeExporter
Copy link
Author

No it still shows the original symptoms. After restart, the settings are only 
applied after clicking the OFF and the ON button.

Original comment by [email protected] on 10 Nov 2011 at 2:26

@GoogleCodeExporter
Copy link
Author

Hi, i've modified the code now the header is persisted for new pages opened 
after FF startup as your use case describe. 

BUT this case is not covered :

1) if you have a page opened before closing FF (ie. 
https://w3bt00l.appspot.com/ht ) 
2) restart the browser 
3) the restore session page will be with the original Firefox header

this is because the plugin is loaded after the state restore.

let me know your feedbacks :)

Cheer
Lorenzo

Original comment by [email protected] on 13 Nov 2011 at 10:15

Attachments:

@GoogleCodeExporter
Copy link
Author

With 0.5.1 I have a new issue: Headers entered in the editor are not saved.

1) Enter a header, e.g. "My-Header:Test" in the sidebar.
2) Open a new window (Ctrl+N).
3) The header editor is empty.
4) Close browser and reopen.
5) The header editor is empty.

Original comment by [email protected] on 18 Nov 2011 at 7:32

@GoogleCodeExporter
Copy link
Author

Hi, 
i've tryed with my FF to reproduce the issue, but i wasn't able to reproduce it.
let me check with a new version of firefox. I'll open a new ticket with this 
new one.

Cheers
Lorenzo

Original comment by [email protected] on 24 Nov 2011 at 2:46

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 24 Nov 2011 at 2:48

  • Changed state: Closed

@GoogleCodeExporter
Copy link
Author

Problem still existing with FF10 & ht 0.5.4

Original comment by [email protected] on 4 Feb 2012 at 12:58

@GoogleCodeExporter
Copy link
Author

I have the same issue in 0.5.5 & 0.5.1.
After rebooting FF (12.0), the settings are only applied after clicking the OFF 
and the ON button.

Original comment by [email protected] on 10 May 2012 at 11:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant