Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions tests/mocks/data/ao3/series/1728802/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<script src="/javascripts/livevalidation_standalone.js"></script>

<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="Vjq-ljgVNeEPggwiWQueulkPOQEsE0cPqnzzCUiQ8cNw3IufbCijWcafJUERG3-if6Qn4hko9y0aysCY3LssJg" />
<meta name="csrf-token" content="I8d219INffPzukiP8vWThqkHPozhZNeeA-7r7I0EC8WGVEV7L-7Udc6Qgvw2Q51-ooI30Xy1P4nR8p9JBOsAgw" />


</head>
Expand All @@ -57,7 +57,7 @@ <h1 class="heading">
<a id="login-dropdown" href="/users/login?return_to=%2Fseries%2F1728802%3Fview_adult%3Dtrue">Log In</a>
</p>
<div id="small_login" class="simple login">
<form class="new_user" id="new_user_session_small" action="/users/login?return_to=%2Fseries%2F1728802%3Fview_adult%3Dtrue" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="tQLUucCRgc6y8FXn5H4j0KWnRPloN8eEVufRhkXV_NBDiR-8rVLqgVnRN7oGbx7bs86aKx1PytwZ5myL3x64UA" autocomplete="off" />
<form class="new_user" id="new_user_session_small" action="/users/login?return_to=%2Fseries%2F1728802%3Fview_adult%3Dtrue" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="1_Sydm-NIobIhW2WSeoZpROF418qSNqlbBP317f8t0Vd8TA2kVFnKDxqxAv3FwESgKBb6AlLpOaWJ_jjMvg0IQ" autocomplete="off" />
<dl>
<dt><label for="user_session_login_small">Username or email:</label></dt>
<dd><input autocomplete="on" id="user_session_login_small" type="text" name="user[login]" /></dd>
Expand Down Expand Up @@ -138,7 +138,7 @@ <h1 class="heading">
<p>
<label class="landmark" for="site_search">Work Search</label>
<input class="text" id="site_search" aria-describedby="site_search_tooltip" type="text" name="work_search[query]" />
<span class="tip" role="tooltip" id="site_search_tooltip">tip: arthur merlin words&gt;1000 sort:hits</span>
<span class="tip" role="tooltip" id="site_search_tooltip">tip: &quot;sherlock (tv)&quot; m/m NOT &quot;sherlock holmes/john watson&quot;</span>
<span class="submit actions"><input type="submit" value="Search" class="button" /></span>
</p>
</fieldset>
Expand Down Expand Up @@ -282,13 +282,13 @@ <h6 class="landmark heading">Series</h6>
<dd class="comments"><a href="/works/23977417?show_comments=true#comments">27</a></dd>

<dt class="kudos">Kudos:</dt>
<dd class="kudos"><a href="/works/23977417#kudos">557</a></dd>
<dd class="kudos"><a href="/works/23977417#kudos">558</a></dd>

<dt class="bookmarks">Bookmarks:</dt>
<dd class="bookmarks"><a href="/works/23977417/bookmarks">82</a></dd>

<dt class="hits">Hits:</dt>
<dd class="hits">8,254</dd>
<dd class="hits">8,298</dd>

</dl>

Expand Down Expand Up @@ -365,13 +365,13 @@ <h6 class="landmark heading">Series</h6>
<dd class="comments"><a href="/works/24121558?show_comments=true#comments">20</a></dd>

<dt class="kudos">Kudos:</dt>
<dd class="kudos"><a href="/works/24121558#kudos">420</a></dd>
<dd class="kudos"><a href="/works/24121558#kudos">425</a></dd>

<dt class="bookmarks">Bookmarks:</dt>
<dd class="bookmarks"><a href="/works/24121558/bookmarks">98</a></dd>

<dt class="hits">Hits:</dt>
<dd class="hits">7,938</dd>
<dd class="hits">8,001</dd>

</dl>

Expand Down Expand Up @@ -448,13 +448,13 @@ <h6 class="landmark heading">Series</h6>
<dd class="comments"><a href="/works/24597715?show_comments=true#comments">17</a></dd>

<dt class="kudos">Kudos:</dt>
<dd class="kudos"><a href="/works/24597715#kudos">1,108</a></dd>
<dd class="kudos"><a href="/works/24597715#kudos">1,114</a></dd>

<dt class="bookmarks">Bookmarks:</dt>
<dd class="bookmarks"><a href="/works/24597715/bookmarks">119</a></dd>

<dt class="hits">Hits:</dt>
<dd class="hits">11,618</dd>
<dd class="hits">11,681</dd>

</dl>

Expand Down Expand Up @@ -501,7 +501,7 @@ <h4 class="heading">Contact Us</h4>
<h4 class="heading">Development</h4>
<ul class="menu">
<li>
<a href="https://github.com/otwcode/otwarchive/commits/v0.9.457.2">otwarchive v0.9.457.2</a>
<a href="https://github.com/otwcode/otwarchive/commits/v0.9.464.2">otwarchive v0.9.464.2</a>
</li>
<li><a href="/known_issues">Known Issues</a></li>
<li>
Expand Down Expand Up @@ -569,7 +569,7 @@ <h4 class="heading">Development</h4>

$j(document).ready(function() {
if (localStorage.getItem("accepted_tos") !== "20241119" && Cookies.get("accepted_tos") !== "20241119") {
$j("body").prepend("<div id=\"tos_prompt\" class=\"hidden\">\n <h2 class=\"heading\">\n <span>Archive of Our Own<\/span>\n <\/h2>\n <div class=\"agreement\">\n <p>\n On the Archive of Our Own (AO3), users can create works, bookmarks, comments, tags, and other <a href=\"/tos_faq#define_content\">Content<\/a>. Any information you publish on AO3 may be accessible by the public, AO3 users, and/or AO3 personnel. Be mindful when sharing personal information, including but not limited to your name, email, age, location, personal relationships, gender or sexual identity, racial or ethnic background, religious or political views, and/or account usernames for other sites.\n <\/p>\n <p>\n To learn more, check out our <a href=\"/tos\">Terms of Service<\/a>, including the <a href=\"/content\">Content Policy<\/a> and <a href=\"/privacy\">Privacy Policy<\/a>.\n <\/p>\n\n <p class=\"confirmation\">\n <input type=\"checkbox\" id=\"tos_agree\" />\n <label for=\"tos_agree\">I have read &amp; understood the 2024 Terms of Service, including the Content Policy and Privacy Policy.<\/label>\n <\/p>\n\n <p class=\"confirmation\">\n <input type=\"checkbox\" id=\"data_processing_agree\" />\n <label for=\"data_processing_agree\">By checking this box, you consent to the processing of your personal data in the United States and other jurisdictions in connection with our provision of AO3 and its related services to you. You acknowledge that the data privacy laws of such jurisdictions may differ from those provided in your jurisdiction. For more information about how your personal data will be processed, please refer to our Privacy Policy.<\/label>\n <\/p>\n\n <p class=\"submit\">\n <button name=\"button\" type=\"button\" disabled=\"disabled\" id=\"accept_tos\">I agree/consent to these Terms<\/button>\n <\/p>\n\n <\/div>\n<\/div>\n\n<script>\n//<![CDATA[\n\n \$j(document).ready(function() {\n var container = \$j(\"#tos_prompt\");\n var outer = \$j(\"#outer\");\n var button = \$j(\"#accept_tos\");\n var tosCheckbox = document.getElementById(\"tos_agree\");\n var dataProcessingCheckbox = document.getElementById(\"data_processing_agree\");\n\n var checkboxClicked = function() {\n button.attr(\"disabled\", !tosCheckbox.checked || !dataProcessingCheckbox.checked);\n if (this.checked) {\n button.on(\"click\", function() {\n acceptTOS();\n outer.removeClass(\"hidden\").removeAttr(\"aria-hidden\");\n \$j.when(container.fadeOut(500)).done(function() {\n container.remove();\n });\n });\n };\n };\n\n setTimeout(showTOSPrompt, 1500);\n\n function showTOSPrompt() {\n \$j.when(container.fadeIn(500)).done(function() {\n outer.addClass(\"hidden\").attr(\"aria-hidden\", \"true\");\n });\n\n \$j(\"#tos_agree\").on(\"click\", checkboxClicked).change();\n \$j(\"#data_processing_agree\").on(\"click\", checkboxClicked).change();\n };\n });\n\n//]]]]><![CDATA[>\n<\/script>");
$j("body").prepend("<div id=\"tos_prompt\" class=\"hidden\">\n <h2 class=\"heading\">\n <span>Archive of Our Own<\/span>\n <\/h2>\n <div class=\"agreement\">\n <p>\n On the Archive of Our Own (AO3), users can create works, bookmarks, comments, tags, and other <a href=\"/tos_faq#define_content\">Content<\/a>. Any information you publish on AO3 may be accessible by the public, AO3 users, and/or AO3 personnel. Be mindful when sharing personal information, including but not limited to your name, email, age, location, personal relationships, gender or sexual identity, racial or ethnic background, religious or political views, and/or account usernames for other sites.\n <\/p>\n <p>\n To learn more, check out our <a href=\"/tos\">Terms of Service<\/a>, including the <a href=\"/content\">Content Policy<\/a> and <a href=\"/privacy\">Privacy Policy<\/a>.\n <\/p>\n\n <p class=\"confirmation\">\n <input type=\"checkbox\" id=\"tos_agree\" />\n <label for=\"tos_agree\">I have read &amp; understood the 2024 Terms of Service, including the Content Policy and Privacy Policy.<\/label>\n <\/p>\n\n <p class=\"confirmation\">\n <input type=\"checkbox\" id=\"data_processing_agree\" />\n <label for=\"data_processing_agree\">By checking this box, you consent to the processing of your personal data in the United States and other jurisdictions in connection with our provision of AO3 and its related services to you. You acknowledge that the data privacy laws of such jurisdictions may differ from those provided in your jurisdiction. For more information about how your personal data will be processed, please refer to our Privacy Policy.<\/label>\n <\/p>\n\n <p class=\"submit\">\n <button name=\"button\" type=\"button\" disabled=\"disabled\" id=\"accept_tos\">I agree/consent to these Terms<\/button>\n <\/p>\n\n <\/div>\n<\/div>\n\n<script>\n//<![CDATA[\n\n \$j(document).ready(function() {\n var body = document.body;\n var container = \$j(\"#tos_prompt\");\n var outer = document.getElementById(\"outer\");\n var button = document.getElementById(\"accept_tos\");\n var tosCheckbox = document.getElementById(\"tos_agree\");\n var dataProcessingCheckbox = document.getElementById(\"data_processing_agree\");\n\n dataProcessingCheckbox.onclick = checkboxClicked;\n tosCheckbox.onclick = checkboxClicked;\n button.onclick = acceptTOSPrompt;\n\n setTimeout(showTOSPrompt, 1500);\n\n function showTOSPrompt() {\n body.style.overflow = \"hidden\";\n \$j.when(container.fadeIn(500)).done(function() {\n outer.style.visibility = \"hidden\";\n outer.setAttribute(\"aria-hidden\", \"true\");\n });\n }\n\n function checkboxClicked() {\n button.disabled = !tosCheckbox.checked || !dataProcessingCheckbox.checked;\n }\n\n function acceptTOSPrompt() {\n acceptTOS();\n body.style.overflow = \"\";\n outer.removeAttribute(\"style\");\n outer.removeAttribute(\"aria-hidden\");\n \$j.when(container.fadeOut(500)).done(function() {\n container.remove();\n });\n }\n });\n\n//]]]]><![CDATA[>\n<\/script>");
}
});

Expand All @@ -591,5 +591,5 @@ <h4 class="heading">Development</h4>
</script>


</body>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9dc8c57c3c26d698',t:'MTc3MzU0ODkwNg=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>
Loading