Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,143 Members 54,471 Now Online
XDA Developers Android and Mobile Development Forum

Hack to Enable full Flash for Any Website

Tip us?
 
Digital Man
Old
(Last edited by Digital Man; 29th October 2012 at 08:30 AM.)
#1  
Digital Man's Avatar
Senior Member - OP
Thanks Meter 63
Posts: 313
Join Date: Jul 2007
Location: New York
Default Hack to Enable full Flash for Any Website

I was able to work out a hack which will allow desktop level flash in the Surface browser, even on sites that are not approved by Microsoft. So if there is a site that you like, but flash doesn't work, because Microsoft hasn't deemed it worthy enough yet, here's a way to manually enable Flash. (For those who aren't aware - only Microsoft approved sites are allowed to use Flash - its not universal - a site apparently has to be approved and put on a list for Flash to work - basically Microsoft censors the content that you see based upon whether or not the site meets their "criteria")

This hack is for the desktop Surface browser, not the metro Surface browser.

The downside with this hack is that, so far it appears that it only works for one website at a time.

Major disclaimer that you've heard a million times before - Tinkering with the registry has its risks - If you screw something up don't blame me.


How to do it:

1. Start

2. Swipe up from bottom and Select: "All apps" on bottom right menu

3. Select: Command Prompt

4. type regedit at the cursor and press enter

5. User account control appears - Do you want program to make changes - Yes

6. Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer

7. Make Sure "Internet Explorer" is selected then go to "Edit" and Select "New" and "Key" from the menu that appears.

8. The New Yellow Key folder will appear on the file tree - name it: Flash

9. If you click View and Refresh, the new Key "Flash" should be just below "Feed Discovery" in the tree.

10. Make sure your new key "Flash" is selected (the only assigned value at this point will read: "Default")

11. Now go to Edit/New and select "String Value" Name the new value DebugDomain

10. Double Click the new string value. Edit box will open. In the field: "Value Data" put the domain of your website for example "www.myflashcrippledsite.com"

11. Click OK Close Regedit and your done.

12. In the Desktop Browser Make sure the setting ActiveX Filtering is unchecked. (Right side of browser where there are the Home, Favorites and Gear icons - select the little round Gear (tools icon) and then Safety and then uncheck ActiveX Filtering

Click image for larger version

Name:	Flash Hack.jpg
Views:	1470
Size:	29.3 KB
ID:	1439531

Now try browsing your site -might have to restart the browser or refresh your page - its worked for me without a restart of the computer but you might need to restart the Surface itself (Right swipe, Settings, Power, Restart.)

If you have problems, make sure you use the right domain for your website for example www.microsoft.com not http//www.microsoft.com
Also remember this works in the Desktop version of the browser not the metro version accessed from the Start screen.
And like I said above, make sure you don't forget to uncheck "ActiveX Filtering" or Flash still won't work.

For now, to view another site, you need to change the DebugDomain value to the domain of your new site - pretty quick once the key has been made, and shouldn't require a restart of the computer. Tomorrow I'll see if there's a way to put multiple DebugDomain keys.


Sorry if this is unclear, I just figured this out then typed it at 2:30 in the morning. I've tested it on a couple of sites with success. But this is still very experimental, haven't done much testing as its too late - more tomorrow.

But I'm simultaneously thrilled and annoyed at this - because after seeing how well flash works on many crippled sites, it makes me really angry that this function isn't on by default and I have to jump through ridiculous hoops just to get flash to work.
He's got a force field and a flexible plan
He's got a date with fate in a black sedan
He plays fast forward for as long as he can
But he won't need a bed --
He's a digital man

Neil Peart - RUSH - Signals
The Following 4 Users Say Thank You to Digital Man For This Useful Post: [ Click to Expand ]
 
GoodDayToDie
Old
#2  
Recognized Developer
Thanks Meter 2,699
Posts: 5,682
Join Date: Jan 2011
Location: Seattle
Prompt Awesome, have a script!

Works for me with just a page reload; thanks!

I wrote some scripts to automate this (scripting being the easiest way to do third-party code on Windows RT); see the attached file. You'll either need to run the EnableFlash script as Admin every time, or run the SetFlashRegPerms script as Admin just once first. If you put the EnableFlash script in a location that is in your PATH, you can easily launch it from any cmd or Powershell prompt.


I love Love LOVE that Windows RT can be scripted, and that people can run stuff as Admin so easily.
Attached Files
File Type: zip EnableFlash.zip - [Click for QR Code] (911 Bytes, 3062 views)
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
The Following 4 Users Say Thank You to GoodDayToDie For This Useful Post: [ Click to Expand ]
 
Marvin_S
Old
#3  
Retired Recognized Developer
Thanks Meter 240
Posts: 881
Join Date: Dec 2010

 
DONATE TO ME
Dear all, I have just found a better solution to this problem.

See the thread here: http://forum.xda-developers.com/show...9#post33414039

This works on all websites you manually add, as many as you would like without the hassle of going trough the registry.
Developer of:

Texas Hold'Em Poker Odds (FREE) Improve your chances with this poker odds calculator for Windows Phone!

Achtung! (FREE) for Windows Phone now available!
The first Achtung Die Kurve inspired game with intelligent A.I. for Windows Phone.

The Following User Says Thank You to Marvin_S For This Useful Post: [ Click to Expand ]
 
Digital Man
Old
(Last edited by Digital Man; 29th October 2012 at 03:20 PM.)
#4  
Digital Man's Avatar
Senior Member - OP
Thanks Meter 63
Posts: 313
Join Date: Jul 2007
Location: New York
Wow I go to bed at 3:00 AM and by breakfast there's already a script for my solution as well as an alternative solution - gotta love XDA.

Thank you GoodDayToDie and Marvin_S for responding so quickly. I noticed Marvin_S started a new thread to fully explore enabling flash by editing the whitelist - sounds like a good alternative.

I feel much more positive about the Surface now - Lack of Flash support was one of the biggest negatives for this device and it was really bothering me.

And its nice to see that we have easy control over the OS in terms of changes and improvements - a big plus and bodes well for the Surface's future.
He's got a force field and a flexible plan
He's got a date with fate in a black sedan
He plays fast forward for as long as he can
But he won't need a bed --
He's a digital man

Neil Peart - RUSH - Signals
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes