Code Monkey home page Code Monkey logo

cookies.txt's People

Contributors

cobbal avatar daftano avatar xylophone21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookies.txt's Issues

Cookies with ampersand sign are broken on download

I've cookie like:

.stackexchange.com  TRUE    /   FALSE   1484753459  acct    t=blablafH6izL26oDS1fooOz1wK%2f&s=cJeWSzbarlIrblablaeao%2b2EblE

which shows correctly in the popup window, however when I've downloaded it as a file, the K%2f&s=c string is converted into K%2f&s=c which basically breaks the functionality and the cookie doesn't work anymore.

Probably it's caused by escapeForPre(), but it's probably shouldn't be parsed upon download.

Command line in Windows OS.

Does it support command line in windows dos mode? I want to automatically update my cookie.txt file by batch file.. Thank you.

No longer available?

The Google Store link is 404. I use a lot would be a shame to loose it. Is there a way to install a plugin from a GitHub clone? Other alternatives?

Extension no longer filtering cookies to match domain

The extension has recently started showing ALL cookies, not just the ones belonging to the domain currently visited. This happens across multiple computers and causes a massive slowdown as the extension pulls thousands of cookies.

Cookies from all websites are shown

Now this extension is showing a giant list of cookies from all websites instead the ones related to the current tab. It seems like a regression bug caused by a recent Chrome update, but I'm not sure which version caused this.

I'm getting an error !

function escapeForPre(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function getDomain(e){if(server=e.match(/:\/\/(.[^/:#?]+)/)[1],parts=server.split("."),isip=!isNaN(parseInt(server.replace(".",""),10)),parts.length<=1||isip)domain=server;else{var o=new Array;for(o[0]=parts[parts.length-1],i=1;i<parts.length;i++)if(o[i]=parts[parts.length-i-1]+"."+o[i-1],!domainlist.hasOwnProperty(o[i])){domain=o[i];break}"undefined"==typeof domain&&(domain=server)}return domain}var content="",downloadable="",popup="";chrome.tabs.getSelected(null,function(e){domain=getDomain(e.url),chrome.cookies.getAll({},function(o){for(var t in o)cookie=o[t],content+=escapeForPre(cookie.domain),content+="	",content+=escapeForPre((!cookie.hostOnly).toString().toUpperCase()),content+="	",content+=escapeForPre(cookie.path),content+="	",content+=escapeForPre(cookie.secure.toString().toUpperCase()),content+="	",content+=escapeForPre(cookie.expirationDate?Math.round(cookie.expirationDate):"0"),content+="	",content+=escapeForPre(cookie.name),content+="	",content+=escapeForPre(cookie.value),content+="\n";downloadable+="# HTTP Cookie File for domains related to "+escapeForPre(domain)+".\n",downloadable+="# Downloaded with cookies.txt Chrome Extension ("+escapeForPre("https://chrome.google.com/webstore/detail/njabckikapfpffapmjgojcnbfjonfjfg")+")\n",downloadable+="# Example:  wget -x --load-cookies cookies.txt "+escapeForPre(e.url)+"\n",downloadable+="#\n";var n="data:application/octet-stream;base64,"+btoa(downloadable+content),a="<a href="+n+' download="cookies.txt">click here</a>';popup+="# HTTP Cookie File for domains related to <b>"+escapeForPre(domain)+"</b>.\n",popup+="# To download this content "+a+", press return (Mac only) or copy and paste into a cookies.txt file.\n",popup+="# It can be then used by wget and other standard complaint tools.\n",popup+="# Example:  wget -x <b>--load-cookies cookies.txt</b> "+escapeForPre(e.url)+"\n",popup+="#\n",document.write("<pre>\n"+popup+content+"</pre>")})});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.