Iflix Subtitles Fix for Firefox

Subtitles fix for Firefox

当前为 2018-05-26 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
Quang Trinh
评分
0 0 0
版本
1.9
创建于
2018-05-26
更新于
2018-05-26
大小
4.0 KB
许可证
暂无
适用于

Complete Your Set - Steam Forum Trading Helper

Gifv

INTRODUCTION

This was a small script I had made for myself to easily make new trade threads, or to compare what I got and need with the others existing threads. I've just edited it a little bit and decided to make it public. It is convenient for me, and saves me a lot of time, so I think I may be useful for someone else too.

FEATURES

  1. Get Owned-Card-List and Unowned-Card-List
  2. Can check the missing cards to complete the set
  3. Automatically create and have it auto filled in the input areas in New Trading Thread arcoding to your config in the script

CONFIGURATIONS

tradeTag - This is the name of the cards which will appear in the title of your trading thread

1 - #Number of Set, for example: 2 of 5, Series 1, then it will be 2 in the title

2 - Show the card's name in title

tradeMode - This sets how your Card-List will be created

0 - List both Owned and Unonwed Cards

1 - Only List Owned Cards

2 - Only List Unowned Cards

badgeMode - This sets the way the script checks if your card set is full or not. Note that if you set custom value for badgeNumSet, your config in here will be ignored, it's always 2 in that case.

0 - Don't check for number of cards to full set, this is more like a cards lister mode

1 - Only check for game set that you have enough cards to make it full, this means if you navigate to the badge page of a game that you don't have enough cards to have a full set. The script will stop running as soon as it's done checking.

2 - Complete your remaining set. Unlike 1, the script will continue to run, then it lists the missing cards to complete that badge, but only if you have at least one card in the incomplete set. For example, if you have 2 of 5 in the set, the script will then list the rest of the series to you Want-List.

badgeNumSet - Set a reaching target for the number of full sets

0 - None

Integers > 0 - Set a target number for Card Sets - This will also set badgeMode = 2

customBody, customTitle - Set the text which will appear after the tite and content of your Trading Thread. Default values are "\n[1:1] Trading" and " [1:1]", you can always empty them by setting the value to "". Site note: to make a linebreak here you have to use \n like the one in the default value.

DOWNLOAD

Greasyfork.org

INSTRUCTIONS

  1. Download and install Tampermonkey for your browser
  2. Download the script
  3. Press install when asked
  4. (Optional) Configure your preferred settings in the script code
  5. Go to the Game Card Page, if the script functions correctly then you will see a "Visit Trading Forum" button next to the "View cards in my Inventory" and "Sell these cards on the Market" within seconds. According to the deafault config, if you go to a Game Card Page that you don't have enough cards to have a full set, the button won't appear. However, if you open the browser console (Pressing F12 if you're on Firefox), on 'console' tab with 'logs' filtered, if you see this line: "Number of cards you've owned: x", then you can tell that the script is running correctly. Also note that the script will only do the autofill part if you navigate directly from the Game Badge Page.
  6. Enjoy!

FAQ

Jesus Christ! The script somehow works, but the way you made it function is a disaster, seriously dude?

Yeah, I know, I'm not working in the IT field. I just know a little bit about Javascript (mostly self-learning) and that's all. I know there are probaly better ways to do this stuff but it seems to work ok for me so I wanna share. I'd be happy if you can help me improve it. :)

Uhm, it doesn't work for me, why is that?

I'm not sure, you can tell if the script is running by opening the browser console.

It works, the console says so but why can't I notice anything different?

Open the script editor, uncomment those lines with console.log inside (Basically remove the // from //console.log. Go to the Game Card Page then grab some logs, then fire a new issue with those logs inside for me. I will see what I can do.