You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/org/matrix/chromext/proxy/Menu.kt
+39-4Lines changed: 39 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -116,18 +116,53 @@ object MenuProxy {
116
116
fun(_: Any) {
117
117
val bookmark =File(ctx.getFilesDir(), "../app_chrome/Default/Bookmarks")
118
118
if (bookmark.exists()) {
119
+
var html =
120
+
"<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<!-- This is an automatically generated file. It will be read and overwritten. DO NOT EDIT! -->\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\">\n<TITLE>Bookmarks</TITLE>\n<H1>Bookmarks</H1>\n<DL><p>\n"
119
121
runCatching {
120
-
val data =JSONObject(FileReader(bookmark).use { it.readText() })
0 commit comments