《小花仙》页游:右键可以放大缩小

依旧要通过右键菜单设置的麦克风下拉框右击来显示放大缩小的选项。

// ==UserScript==
// @name         《小花仙》页游:右键可以放大缩小
// @name:en      Allow Web Game Flower Fairy (by Taomee) to Zoom In RMB Menu
// @namespace    http://tampermonkey.net/
// @version      0.6
// @description  依旧要通过右键菜单设置的麦克风下拉框右击来显示放大缩小的选项。 
// @description:en You still need to RMB-Settings-Microphone Tab-Open the dropdown-RMB the dropdown, in order to display the zoom options!
// @author       别问我是谁请叫我雷锋
// @license      BSD-3-Clause
// @match        http://hua.61.com/play.shtml
// @match        http://hua.61.com
// @match        http://hua.61.com/huaplay.html
// @contributionURL       http://
// @grant        none
// ==/UserScript==


'use strict';
window.onload = function () {
    if (location.href == "http://hua.61.com/" && new Date().getHour() < 6) {
        document.querySelector(".flash_content").innerHTML = '<embed width="100%" height="100%" name="plugin" id="plugin" src="http://hua.61.com/Close.swf?' + new Date().getTime() + '" type="application/x-shockwave-flash">';
    } else {
        document.querySelector(".flash_content").innerHTML = '<embed width="100%" height="100%" name="plugin" id="plugin" src="http://hua.61.com/Client.swf?' + new Date().getTime() + '" type="application/x-shockwave-flash">';
    }
    return;
    // Your code here...
};