Skip to content

Commit d267d47

Browse files
authored
Merge pull request #262 from righettod/master
Work on #251.
2 parents 86344a7 + 9450d55 commit d267d47

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

β€Žassets/js/direct-link-handler.jsβ€Ž

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,13 @@ function handleDirectLink() {
3939
}
4040

4141
window.addEventListener("load", function () {
42-
handleDirectLink();
43-
})
42+
const isFirefox = (navigator.userAgent.indexOf("Firefox") !== -1);
43+
if (isFirefox) {
44+
//Fix for issue "github.com/OWASP/www-project-secure-headers/issues/251"
45+
console.debug(`[DirectLinkHandler] Firefox so delayed call to let the page load.`);
46+
setTimeout(() => { handleDirectLink(); }, "3000");
47+
} else {
48+
console.debug(`[DirectLinkHandler] Not Firefox so direct call.`);
49+
handleDirectLink();
50+
}
51+
});

β€Žindex.mdβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ pitch: Provides technical information about HTTP security headers.
3737

3838
πŸ“š The OWASP Secure Headers Project aim to provide elements about the following aspects regarding HTTP security headers:
3939

40-
* [Guidance](https://owasp.org/www-project-secure-headers/index.html#div-bestpractices_configuration-proposal) about the recommended HTTP security headers that can be leveraged.
41-
* [Guidance](https://owasp.org/www-project-secure-headers/index.html#div-bestpractices_prevent-information-disclosure-via-http-headers) about the HTTP headers that should be removed.
40+
* Guidance about the recommended HTTP security headers that can be leveraged (**Best Practices** tab).
41+
* Guidance about the HTTP headers that should be removed (**Best Practices** tab).
4242
* [Tools](https://github.com/oshp/oshp-validator) to validate an HTTP security header configuration.
43-
* [Code](https://owasp.org/www-project-secure-headers/index.html#div-technical) libraries that can be leveraged to configure recommended HTTP security headers.
44-
* [Statistics](https://github.com/oshp/oshp-stats) about usage of the recommended HTTP security headers.
43+
* Code libraries that can be leveraged to configure recommended HTTP security headers (**Technical Resources** tab).
44+
* [Statistics](https://github.com/oshp/oshp-stats) about usage of the recommended HTTP security headers (**Statistics** tab).
4545

4646
🏭 All the tools provided by the OSHP are gathered under this [GitHub organization](https://github.com/oshp/).
4747

@@ -64,7 +64,7 @@ pitch: Provides technical information about HTTP security headers.
6464

6565
πŸ“ˆ We provide statistics, updated every month, about HTTP response security headers usage mentioned by the OWASP Secure Headers Project:
6666

67-
* They are available through [this GitHub project](https://github.com/oshp/oshp-stats) and the tab named [Statistics](https://owasp.org/www-project-secure-headers/index.html#div-statistics).
67+
* They are available through [this GitHub project](https://github.com/oshp/oshp-stats) and the tab named **Statistics**.
6868

6969
## Security headers usage validator
7070

@@ -90,7 +90,7 @@ pitch: Provides technical information about HTTP security headers.
9090

9191
## Technical references health dashboard
9292

93-
πŸ“ We automatically generate and monitor this **[dashboard](https://github.com/OWASP/www-project-secure-headers/blob/master/monitoring_technical_references_dashboard.md)** to identify any dead project referenced in the **[Technical Resources](https://owasp.org/www-project-secure-headers/#div-technical)** tab.
93+
πŸ“ We automatically generate and monitor this **[dashboard](https://github.com/OWASP/www-project-secure-headers/blob/master/monitoring_technical_references_dashboard.md)** to identify any dead project referenced in the **Technical Resources** tab.
9494

9595
## Discussions, information and roadmap
9696

@@ -100,7 +100,7 @@ pitch: Provides technical information about HTTP security headers.
100100

101101
## Create a link to the OSHP site
102102

103-
πŸ“– This is documented into the **[Case Studies](https://owasp.org/www-project-secure-headers/index.html#div-casestudies)** tab.
103+
πŸ“– This is documented into the **Case Studies** tab.
104104

105105
## Contributors
106106

0 commit comments

Comments
Β (0)