Problem: manually installing the Flash Player plugin in newer versions of Chrome doesn't work

Problem description: After switching systems, I found that I’d moved to the new Chrome 6. I wanted to use the debug version of the flashplayer plugin, so I installed “flashplayer 10.1 plugin debug” as usual. Once it was installed, I restarted Chrome and opened http://www.flashplayerversion.com/ and saw that the version was the latest one — but it wasn’t the debug version. That struck me as odd. Later I went into the Control Panel and uninstalled the flash plugin outright, but Chrome could still play flash! It turns out that both Chrome 5 and Chrome 6 ship with flashplayer built in, and it’s the latest version. That’s a good thing in itself, but for flash developers what’s needed is the debug build of fp, so you have to find a way to swap Chrome’s built-in fp for the debug version.

Flash
sys = /^zh/i.test(raw) ? 'zh' : 'en'; if (sys === page) return; try { if (localStorage.getItem(KEY) === page) return; } catch (e) {} if (/^\/(en\/)?404\.html$/.test(location.pathname)) return; var alt = page === 'zh' ? 'en' : 'zh-CN'; var link = document.querySelector('link[rel="alternate"][hreflang="' + alt + '"]'); var href = (link && link.href) ? new URL(link.href).pathname : (page === 'zh' ? '/en/' : '/'); var isZh = page === 'zh'; var bar = document.createElement('div'); bar.className = 'mb-langbar'; bar.setAttribute('role', 'region'); bar.setAttribute('aria-label', isZh ? 'Language' : '语言'); bar.innerHTML = '' + (isZh ? 'This page has an English version.' : '本文有简体中文版。') + '' + '' + (isZh ? 'Read in English' : '阅读中文版') + '' + ''; function remember(remove) { try { localStorage.setItem(KEY, page); } catch (e) {} if (remove) bar.remove(); } bar.querySelector('.x').addEventListener('click', function () { remember(true); }); bar.querySelector('.go').addEventListener('click', function () { remember(false); }); document.body.insertBefore(bar, document.body.firstChild); })();