This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CookieManager cookieManager = CookieManager.getInstance(); | |
BasicCookieStore cookieStore = new BasicCookieStore(); | |
final String appDomain = mContext.getResources().getString(R.string.app_domain); | |
String cookies = cookieManager.getCookie(appDomain); | |
String[] splitCookies = cookies.split(";"); | |
for (String cookie : splitCookies) { | |
String[] cookieParts = cookie.split("="); | |
if (cookieParts.length > 0) { | |
String cookieValue = ""; | |
if (cookieParts.length >= 2) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* It's under MPL 1.1 | |
* See http://www.mozilla.org/MPL/1.1/ | |
* You can install this from https://addons.mozilla.org/ko/firefox/addon/naver-endic/ | |
* | |
*/ | |
let { Ci, Cc } = require("chrome"); | |
let Panel = require("panel").Panel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d=window.get_active_document();s,e=d.get_selection_bounds();t=d.get_text(s,e,True);d.delete_selection(False,False);d.insert_at_cursor(''.join(("<?=_('",t,"')?>"))) |
NewerOlder