{"action":"created","issue":{"url":"https://api.github.com/repos/expressjs/express/issues/3155","repository_url":"https://api.github.com/repos/expressjs/express","labels_url":"https://api.github.com/repos/expressjs/express/issues/3155/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/express/issues/3155/comments","events_url":"https://api.github.com/repos/expressjs/express/issues/3155/events","html_url":"https://github.com/expressjs/express/issues/3155","id":197086919,"number":3155,"title":"Why is Jquery always loaded?","user":{"login":"cyphunk","id":119662,"avatar_url":"https://avatars.githubusercontent.com/u/119662?v=3","gravatar_id":"","url":"https://api.github.com/users/cyphunk","html_url":"https://github.com/cyphunk","followers_url":"https://api.github.com/users/cyphunk/followers","following_url":"https://api.github.com/users/cyphunk/following{/other_user}","gists_url":"https://api.github.com/users/cyphunk/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphunk/subscriptions","organizations_url":"https://api.github.com/users/cyphunk/orgs","repos_url":"https://api.github.com/users/cyphunk/repos","events_url":"https://api.github.com/users/cyphunk/events{/privacy}","received_events_url":"https://api.github.com/users/cyphunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T03:29:14Z","updated_at":"2016-12-22T03:37:26Z","closed_at":null,"body":"I wasn't able to find anything in documentation concerning the addition of the Jquery script tag when loading static HTML files. Perhaps I missed something, or this is the wrong place to address the issue. Currently in version 4.14.0 this script tag is always added. Consider this example:\r\n\r\n```javascript\r\nvar express = require('express')\r\nvar http = require('http')\r\nvar app = express()\r\nvar server = http.createServer(app)\r\napp.get('/test', function(req, res){\r\n\tres.sendFile(__dirname+'/test.html') })\r\nserver.listen(8080)\r\n```\r\n\r\ntest.html:\r\n```html\r\n<html><head></head><body>t</body></html>\r\n```\r\n\r\nWhen requesting http://localost:8080/test the HTML is turned into\r\n\r\n```html\r\n<html><head><script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js\" type=\"text/javascript\" async=\"\"></script></head><body>t\r\n</body></html>\r\n```\r\n\r\nany thoughts on what I may have missed and how to change this so that jquery is not automatically loaded?"},"comment":{"url":"https://api.github.com/repos/expressjs/express/issues/comments/268710632","html_url":"https://github.com/expressjs/express/issues/3155#issuecomment-268710632","issue_url":"https://api.github.com/repos/expressjs/express/issues/3155","id":268710632,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T03:37:26Z","updated_at":"2016-12-22T03:37:26Z","body":"It's not related to Express - Express is only running on the server-side and won't change your HTML. You can check the network requests to verify. I'd guess you have a browser plugin injecting it. Can you check if it appears on other pages?"}}
{"actor":{"display_login":"blakeembrey"}}