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
9 changes: 9 additions & 0 deletions js/cookie_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ var cookiesToString = {
}
return string;
},
"map":function(cookies,url){
var string = "";
for (var i = 0; i < cookies.length; i++) {
cookie = cookies[i];
string += "\""+cookie.name +"\""+ "," +"\""+ cookie.value + "\""+"\n";

}
return string;
},

"lpw": function (cookies, url) {
var string = "";
Expand Down
1 change: 1 addition & 0 deletions options_pages/user_preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ <h1 i18n="Options"></h1>
<option value="netscape">Netscape HTTP Cookie File</option>
<option value="semicolonPairs">Semicolon separated name=value pairs</option>
<option value="lpw">Perl::LWP</option>
<option value="map">Map</option>
</select>
</div>
</div>
Expand Down