Giter VIP home page Giter VIP logo

p1a3_script's Introduction

p1a3_script

一亩三分地的油猴脚本

安装

自动(推荐)

  1. 安裝油猴插件
  2. 点击油猴图标
  3. 管理面板
  4. 页面中点击实用工具
  5. 在URL文本框输入源码地址,点击导入

安装過程

手动(不推荐)

点击油猴图标->添加新脚本,粘贴p1a3_script.js的源码,Ctrl+S

Greasy Fork(不推荐)

为了推广,本项目发布到了Greasy Fork(下称GF),但建议你仍采用上述自动方式安装,原因如下

  • 目前题库与业务逻辑分离,业务逻辑需要以外部脚本的方式引用题库
  • GF拒绝raw.githubusercontent.com的外部脚本,所以我需要将题库作为一个单独的Library发布到GF
  • GF有自动同步脚本的功能,只要我push到Github上的脚本版本号更高,GF就会自动拉取(有一定延迟);但根据我的测试,GF上业务逻辑引用题库的URL需要指定version参数,否则即使题库更新了,业务逻辑也无法引用到新版题库
  • 所以为了将Github自动同步到GF,我在更新题库、更新题库版本号之后,还需要更新业务逻辑的引用URL和业务逻辑版本号(为什么不是一次commit更新这4项,因为version参数是GF生成的,必须先更新题库才能获得)
  • 模块化是原则,DRY也是原则,GF不是原则;三者冲突时,舍弃GF

Greasy Fork已停更,请删除并切换为自动安装

更新

为保证用户体验请及时更新

自动

若自动安装,则可点击油猴图标->用户脚本检查更新,或油猴图标->管理面板,点击最后更新列中脚本的时间

手动

同手动安装

Greasy Fork

卸载

功能

论坛

自动签到

需要你绑定微信

隐藏模块

请使用设置功能(点击油猴图标->(1p3a_script下的)设置)

定位贴和录取汇报贴

自动查看学校、三维

需要你有足够的积分

录取汇报版

自动折叠录取汇报版规

需要你自觉遵守

记录上次的录取汇报筛选条件

重置筛选条件

Doing

自动答题

题库维护中,目前共有194题
成功答题或题目不在题库,console会有提示

QQ群

652122176
暗号:一亩三分地
欢迎技术爱好者加群交流,或对脚本提出意见

致谢

开源项目

p1a3_script's People

Contributors

94rain avatar aoteman5255661 avatar bubblekid avatar eagleoflqj avatar edydfang avatar harryhare avatar hongbo-miao avatar hpplayer avatar johan456789 avatar lgtm-com[bot] avatar lixin-wei avatar pjpjq avatar pwzxxm avatar ryanzhe avatar sgyzetrov avatar tianshupang avatar tony-feng avatar wuzhigang05 avatar z2z23n0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

p1a3_script's Issues

AD Blocker Dialog

work around

    const closeDialog = () => {
        const check = setInterval(() => {
            const closeButton = (document.getElementsByClassName("fc-close") || [])[0];
            if (closeButton) {
                closeButton.click();
                clearInterval(check);
            }
        }, 1000);
    };
    closeDialog();

Any plan to support firefox?

I am currently using firefox but this script wont work. The question message box will pop up automatically but the answer wont be chosen.

新加问题

【题目】 以下哪个说法正确?

  • 一篇一作指的是有一篇第一作者的文章
  • 地里常见的缩写SoP是指standard operating procedure
  • TG成绩里的G指的是GPA
  • 只要是领域大牛写的推荐信都叫强推

正确答案:一篇一作指的是有一篇第一作者的文章

New QA

Q: 下面哪个 machine learning 的模型不是 supervised learning?
A: Clustering

添加一个新问题

【题目】 下面哪个大学不在Virginia/DC附近
George Washington University
Washington and Jefferson College
Trinity Washington University
Washington and Lee University
这个题选Washington and Jefferson College

Firefox下部分功能无效

会自动打开每日签到和答题页面, 但不会进行操作, 请教是否是firefox或是配置问题, chrome下无此问题

虽然设置了禁用第三方cookies, 但是改成默认设置也不行
以及尝试禁用了Privacy Badger扩展, 但也无效

console提示

ERROR: Execution of script '1p3a_script' failed! access to strict mode caller function is censored
1p3a_script.user.js:1:446

    <anonymous> moz-extension://ce4e2d31-0866-44db-bc91-55b8cb6a9d76/userscripts/1p3a_script.user.js?id=d6fe31af-18ce-4653-87f8-f914b87f6861:1
    <anonymous> moz-extension://ce4e2d31-0866-44db-bc91-55b8cb6a9d76/userscripts/1p3a_script.user.js?id=d6fe31af-18ce-4653-87f8-f914b87f6861:1
    <anonymous> moz-extension://ce4e2d31-0866-44db-bc91-55b8cb6a9d76/userscripts/1p3a_script.user.js?id=d6fe31af-18ce-4653-87f8-f914b87f6861:346
    <anonymous> moz-extension://ce4e2d31-0866-44db-bc91-55b8cb6a9d76/userscripts/1p3a_script.user.js?id=d6fe31af-18ce-4653-87f8-f914b87f6861:348
    r eval:2
    c eval:2
    E_u eval:3
    ja eval line 1 > Function:59
    create eval line 1 > Function:70
    d eval line 1 > Function:13

Firefox 74.0
Tampermonkey 4.10.6105
1p3a_script 0.7.0.74

油猴导入脚本

请问是不是得有 user.js 这个文件才会触发自动导入呢

新问题

【题目】 下面哪个城市不是典型的温带海洋性气候?
伦敦
波士顿
温哥华
西雅图

答案是 Boston

New QA

【题目】 以下哪种不是 Modes of dataflow?
正确答案 tcp/ip

新加问题

【题目】 下面哪部作品是喜剧?
仲夏夜之梦

新加题目

【题目】 美国哪个州没有夏令时?

  • 阿肯色州
  • 南达科他州
  • 爱荷华州
  • 亚利桑那州

正确答案:亚利桑那州

建议Readme里加入使用方法

Readme有安装方式,但没说效果
是访问一亩三分地主页后,会自动点击答题,填写答案,但需要手动输入验证码确认
签到也是访问一亩三分地主页后会自动跳转到签到页,自动填写签到心情与内容,同样需要手动输入验证码点击确认

新加题目 20190810

【题目】 音乐家贝多芬出生于哪国?

  • 意大利
  • 德国
  • 法国
  • 英国

正确答案: 德国

能不能自己做个页面然后像 Greasy Fork 一样一件安装

被你 README 科普了一个新的安装方法,请问能不能在自己的网页实现类似 Greasy Fork 那样一键安装的?

自己写了一个很简单的小插件,内部用,感觉放 Greasy Fork 肯定不合适,其他安装方法太繁琐了。大佬带我飞😀

新特性

这个脚本只有一个目的:节约你的宝贵时间
比如点击、滚屏、查看无意义信息、低效检索
第一次commit只有20行,其中js只占9行
发展到现在,功能变得更多,题库不断丰富,star、issue、pr也接踵而至
感谢大家的支持
我目前在思考一些新特性,包括

  • 更安全的自动答题
  • 更多可选的折叠模块
  • 自动识别三维并与自己的比较

如果你有想要的新特性,欢迎提出
也欢迎加群交流,群号652122176,暗号:一亩三分地

New QA

Q: '以下哪所学校不位于南部?'
A: '凯斯西储大学'

新题目

【题目】 下面加州哪个地点离墨西哥最近?
圣迭戈
洛杉矶
硅谷
旧金山

答案是: 第一个

New QA

下面哪个公司的 streaming service 不是会员 subscription 付费模式运营的?
Disney
Netflix
Tubi
Hulu
正确答案:Tubi

Failed to work

请问这个脚本还可以用吗?谢谢
我按照推荐的自动方法装了以后,并不能自动答题和签到。

我看到类似错误 #6
在 Console 里运行 jQuery.cookie('signed');,显示错误:

Uncaught ReferenceError: jQuery is not defined

image

QA

下面哪个大学在华盛顿州?
University of Washington

答题

下面哪个州,有state income tax on wages
North Dakota

自動檢查答案正確性

最近一直有答錯的情形,回答之前忘記截圖,所以不記得題目是什麼了。

不知道有沒有可能自動檢查回答後的答題結果,如果有答錯的情況要把那題的答案在資料庫裡面排除。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.