{"action":"created","issue":{"url":"https://api.github.com/repos/pklauzinski/jscroll/issues/58","labels_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/58/comments","events_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/58/events","html_url":"https://github.com/pklauzinski/jscroll/issues/58","id":74142467,"number":58,"title":"(in a userscript for reddit.com) It only appends page 2 when having login","user":{"login":"darkred","id":723651,"avatar_url":"https://avatars.githubusercontent.com/u/723651?v=3","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-07T22:01:07Z","updated_at":"2015-05-08T11:01:22Z","closed_at":null,"body":"I've made this userscript in order to use jScroll it in reddit.com and any subreddit\r\n\r\n```javascript\r\n// ==UserScript==\r\n// @name        Reddit jScroll\r\n// @namespace   \r\n// @include     http://www.reddit.com/*\r\n// @version     1\r\n// @grant       none\r\n// @require     https://raw.githubusercontent.com/pklauzinski/jscroll/master/jquery.jscroll.min.js\r\n// ==/UserScript==\r\n\r\n$('span.nextprev').jscroll({\r\n  contentSelector: 'div.content'   \r\n});\r\n```\r\nwhere `span.nextprev` is the selector for the _Next_ button\r\nand `div.content` is the selector for the links content of every next page.\r\n\r\nIf open eg. reddit.com without login, then it works ok (it appends every next page).\r\nThe problem is when I try my userscript having login:\r\n**it only appends page 2, not the next pages \r\n(it just shows _Loading..._ at the end of the appended page 2 )**\r\nfor example in:\r\n\r\n1. http://www.reddit.com (I've only subscribed to 2 subreddits) \r\n2. eg. http://www.reddit.com/r/firefox/\r\n\r\n\r\nIs my userscript wrong or it'is jScroll?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pklauzinski/jscroll/issues/comments/100195478","html_url":"https://github.com/pklauzinski/jscroll/issues/58#issuecomment-100195478","issue_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/58","id":100195478,"user":{"login":"darkred","id":723651,"avatar_url":"https://avatars.githubusercontent.com/u/723651?v=3","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T11:01:22Z","updated_at":"2015-05-08T11:01:22Z","body":"Thank you very much for the detailed and instructive replies!\r\n\r\nI just tried your code and it only appends page 2.\r\nAlso, before it appends page 2, it adds the entries from the \"recently viewed links\" table\r\n(please check the red arrows in my [screenshot](http://i.imgur.com/JDn1f8g.png) to see what I mean)\r\n\r\nUnfortunately I still can't make the script work.\r\nPlease, login to reddit and help with this."}}