View Single Post
Old 05-30-2011, 02:16 PM   #7
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
So I took a look at how his "patch" worked. He replaced all instances of "_blank" and "target" with random stuff like "xxxxx" and "tbrget". This will allow most new windows to open, but anything that opens new windows in another method or using javascript won't be affected. There might also be unintended side effects, but I'm just guessing. The better way of doing it would be to look for the source file that handles opening new window in the Webkit WebCore source and make it return without a new window and recompile it. This will take a long time to set up though because you also need to cross-compile stuff like fb and libcurl. This will have to do for now.
yifanlu is offline   Reply With Quote