HelloZeroNet / HelloZeroNet/ZeroNet
ZeroNet still seeds a site when inner iframe was not loaded.
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
```html
function get(url) {
var r = new XMLHttpRequest();
r.onload = function() {
console.log(r.responseText);
};
r.open("GET", url);
r.send();
}
get("/13Lo9wpxbogHdaTQ9rGZruu9MJZnigzU3B/");
get("/1CiDoBP8RiWziqiBGEd8tQMy66A6fmnw2V/big/sample-loader/files/list.json");
console.log("Request sent.");
```
```
Request sent.
! Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:43110/13Lo9wpxbogHdaTQ9rGZruu9MJZnigzU3B/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
```
Site **still seeded** and appeared.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the HTML/JavaScript XMLHttpRequest reproduction in the issue and trace how ZeroNet handles the failed inner request. Done means a site does not continue seeding or appear when the inner iframe or request was not loaded, with the provided reproduction no longer showing the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100