Embed Algebra.best Game

Embed the Algebra Game into a webpage

当前为 2024-01-07 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Embed Algebra.best Game
// @namespace    https://your-website.com
// @version      1.0
// @description  Embed the Algebra Game into a webpage
// @author       Your Name
// @match        https://classroom.google.com/u/1/calendar/this-week/course/all
// @match        https://classroom.google.com/u/0/calendar/this-week/course/all
// @match        https://classroom.google.com/u/calendar/this-week/course/all
// @match        https://classroom.google.com/u/1/
// @match        https://classroom.google.com/u/0/
// @match        https://classroom.google.com
// @match        https://classroom.google.com/h

// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Create an iframe element to embed the Algebra Game
    var iframe = document.createElement('iframe');
    iframe.src = 'https://algebra.best/?showAd=18b64894dc1&scriptVersion=0.2.1'; // URL of the game
    iframe.style.width = '800px';
    iframe.style.height = '600px';
    iframe.style.border = 'none';
    iframe.style.marginLeft = '100px';

    // Append the iframe to the target page
    document.body.appendChild(iframe);
})();