(request)
| 1904 | break; |
| 1905 | } |
| 1906 | } |
| 1907 | const uaMatch = bodyText.match(/Current User Agent:\\s*([^\\n]+)/i); |
| 1908 | const ipMatch = bodyText.match(/Current IP Address:\\s*([^\\n]+)/i); |
| 1909 | return { |
| 1910 | score, |
| 1911 | source, |
| 1912 | raw_text: bodyText.slice(0, 4000), |
| 1913 | current_user_agent: uaMatch ? uaMatch[1].trim() : "", |
| 1914 | current_ip_address: ipMatch ? ipMatch[1].trim() : "", |
| 1915 | title: document.title || "", |
| 1916 | url: location.href || "", |
| 1917 | }; |
| 1918 | } |
| 1919 | """ |
nothing calls this directly
no test coverage detected