modding tutorial. This tutorial is for increasing tab limits. Just follow these steps 1. Rename your uc browser as uc.zip 2. Select uc.zip with bytecode editor and search for ext:close_window. 1 class j. class will be extracted in a folder for uc9.4. Open it with bytecode editor and Search For tableswitch. Several Methods will Appear. Now As we know in UC9.4 window limit is 8. So we will search for bipush 8 on each method that you have searched with table switch. In the second method,you will see the following Codes. 1 aload_0 2 invokevirtual j/c()Lh; 3 pop 4 aload_0 5 getfield j/b Ljava/util/Vector; 6 invokevirtual java/util/Vector/ size()I 7 dup 8 istore 5 9 bipush 8 (This is window limit [ Change it to bipush 50 if u want 50 tabs.]) 10 if_icmplt Label75 11 iload_3 12 iconst_4 13 invokestatic ab/a(II)Z 14 ifne Label75 15 iload_1 16 iconst_2 17 if_icmpeq Label73 18 new java/lang/StringBuffer 19 dup 20 invokespecial java/lang/ StringBuffer/<init>()V 21 bipush 87 22 invokestatic ak/a(I)Ljava/ lang/String; 23 invokevirtual java/lang/ StringBuffer/append(Ljava/lang/ StringLjava/lang/StringBuffer; 24 bipush 8 (This is pop- up window limit that alerts you. [ change it to bipush 50 if you have changed previous bipush 8 to bipush 50] 25 invokevirtual java/lang/ StringBuffer/append(I)Ljava/ lang/StringBuffer; 26 invokevirtual java/lang/ StringBuffer/toString()Ljava/ lang/String; 27 astore 6 28 aload_0 29 aconst_null 30 iconst_1 31 anewarray java/lang/String 32 dup 33 iconst_0 34 aload 6 35 aastore 36 invokevirtual j/a(Ljava/lang/ String;[Ljava/lang/String
Z 37 pop 38 Label73: 39 aconst_null 40 areturn 41 Label75: 42 iload 5 43 istore 6 44 iload 5 45 bipush 8 46 if_icmplt Label124 47 iload_3 48 iconst_4 49 invokestatic ab/a(II)Z 50 ifeq Label124 51 aload_0 52 getfield j/b Ljava/util/Vector; 53 iload 5 54 iconst_1 55 isub 56 invokevirtual java/util/ Vector/elementAt(I)Ljava/lang/ Object; 57 checkcast h 58 astore 4 59 aload_0 60 iload 5 61 iconst_1 62 isub 63 dup 64 istore 6 65 invokevirtual j/d(I)V 66 goto Label198 67 Label124: 68 new h 69 dup 70 aload_0 71 invokespecial h/<init>(Lj
V 72 astore 4 73 iload_1 74 tableswitch Label187 0 : Label164 , 1 : Label172 , 2 : Label181 , 3 : Label164 75 Label164 : 76 aload 4 77 getstatic j/a Laj; 78 goto Label184 79 Label172: 80 aload 4 81 aload_0 82 invokevirtual j/a()Laj; 83 goto Label184 84 Label181: 85 aload 4 86 aload_2 87 Label184: 88 invokevirtual h/d(Laj
V 89 Label187: 90 aload_0 91 getfield j/b Ljava/util/Vector; 92 aload 4 93 iload 5 94 invokevirtual java/util/ Vector/insertElementAt(Ljava/ lang/Object;I)V 95 Label198: 96 iload_3 97 iconst_1 98 invokestatic ab/a(II)Z 99 ifne Label212 100 aload_0 101 iload 6 102 invokevirtual j/d(I)V 103 Label212: 104 aload 4 105 areturn 3. After Modifying the class , put back to original file and test your work
.
/end
Bookmarks