View uBlock Origin Myフィルター例
! 「タイムラインにトピックも表示しましょう」「おすすめトピック」「おすすめユーザー」の削除 | |
twitter.com##[aria-label^="タイムライン: "] > div > :not(:has(article)):has(~ div:has(h2:has-text(/トピック|おすすめユーザー|新しいリストを見つける|についてのツイートをさらに表示するには/))) | |
twitter.com##[aria-label^="タイムライン: "] > div > :has(h2:has-text(/トピック|おすすめユーザー|新しいリストを見つける|についてのツイートをさらに表示するには/)) | |
twitter.com##[aria-label^="タイムライン: "] > div > :has(h2:has-text(/トピック|おすすめユーザー|新しいリストを見つける|についてのツイートをさらに表示するには/)) ~ div:not(:has(article)) |
View NeverCompressAssetsOnImport.cs
// Author: 100の人 | |
// Distribution URL: https://gist.github.com/esperecyan/996e0b2af62f4ac6e0a336597836750e | |
// SPDX-License-Identifier: CC0-1.0 | |
using UnityEditor; | |
namespace Esperecyan.Unity | |
{ | |
public class NeverCompressAssetsOnImport | |
{ | |
[InitializeOnLoadMethod] |
View ReplaceToTextMeshPro.cs
using System.Linq; | |
using System.Text.RegularExpressions; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEditor; | |
using TMPro; | |
namespace Esperecyan.Unity.ReplaceToTextMeshPro | |
{ | |
/// <summary> |
View restore-defualt-audio-after-steamvr.ps1.jse
#@~^AQAAAA==~IAAAAA==^#~@ function toPSString(str) { return "'" + str.replace(/%/g, '"%"').replace(/'/g, "''") + "'"; } /* -*- mode: powershell;-*- | |
<#*/ var command = 'param($AudioOutput, $AudioInput, $IntervalSeconds = 10)' | |
+ '; $_PSCommandPath = ' + toPSString(WSH.ScriptFullName) | |
+ '; Invoke-Expression (Get-Content ' + toPSString(WSH.ScriptFullName) + ' -Encoding UTF8 -Raw)'; | |
var namePattern = /^-(?!(?:b(?:and|or|xor|not)|sh[lr]|[ic]?(?:eq|ne|gt|ge|lt|le|(?:not)?(?:like|match|contains|in)|replace|split)|join|is(?:not)?|as|and|or|not|f)$)[0-9a-z]+$/i; | |
var args = ''; for (var i = 0; i < WSH.Arguments.Length; i++) { | |
var arg = WSH.Arguments(i); args += ' ' + (namePattern.test(arg) ? arg : toPSString(arg)); } | |
WSH.CreateObject('WScript.Shell').Run('PowerShell -Command &{' + command + '}' + args, 0); /*#> | |
<# | |
.SYNOPSIS |
View suppress-auto-lock.ps1.jse
#@~^AQAAAA==~IAAAAA==^#~@ function toPSString(str) { return "'" + str.replace(/%/g, '"%"').replace(/'/g, "''") + "'"; } /* -*- mode: powershell;-*- | |
<#*/ var command = 'param($Names, $IntervalSeconds = 60)' | |
+ '; $_PSCommandPath = ' + toPSString(WSH.ScriptFullName) | |
+ '; Invoke-Expression (Get-Content ' + toPSString(WSH.ScriptFullName) + ' -Encoding UTF8 -Raw)'; | |
var namePattern = /^-(?!(?:b(?:and|or|xor|not)|sh[lr]|[ic]?(?:eq|ne|gt|ge|lt|le|(?:not)?(?:like|match|contains|in)|replace|split)|join|is(?:not)?|as|and|or|not|f)$)[0-9a-z]+$/i; | |
var args = ''; for (var i = 0; i < WSH.Arguments.Length; i++) { | |
var arg = WSH.Arguments(i); args += ' ' + (namePattern.test(arg) ? arg : toPSString(arg)); } | |
WSH.CreateObject('WScript.Shell').Run('PowerShell -Command &{' + command + '}' + args, 0); /*#> | |
<# | |
.SYNOPSIS |
View reset-shortcut-icons.js
| |
var FileSystemObject = WSH.CreateObject('Scripting.FileSystemObject'); | |
var Shell = WSH.CreateObject('WScript.Shell'); | |
var folders = [FileSystemObject.GetFolder(WSH.Arguments.Item(0))]; | |
var rootPath = folders[0].Path + '\\'; | |
var paths = []; | |
for (var folder; folder = folders.shift(); ) { | |
for (var fs = new Enumerator(folder.SubFolders); !fs.atEnd(); fs.moveNext()) { | |
folders.push(fs.item()); |
View VRChatCrossGit.cs
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Diagnostics; | |
using System.ComponentModel; | |
using UnityEngine; | |
using UnityEditor; |
View VRChatBlockedComponentsRemover.cs
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
namespace Esperecyan.Unity.VRChatBlockedComponentsRemover | |
{ | |
/// <summary> | |
/// VRChatのOculust Quest版のアバターにおいて、使用できないコンポーネントを削除します。 | |
/// </summary> |
View 履歴のURL置換.js
(async function () { | |
const FAVICON_URI = NetUtil.newURI('https://www.pixiv.net/favicon.ico'); | |
const PRINCIPAL = Services.scriptSecurityManager.createContentPrincipal(NetUtil.newURI('https://www.pixiv.net/artworks/'), {}); | |
const OLD_URL_SEARCH_TERMS = 'https://www.pixiv.net/member_illust.php?mode=medium&illust_id='; | |
const OLD_URL_PATTERN = /^https:\/\/www\.pixiv\.net\/member_illust.php\?mode=medium&illust_id=[0-9]+$/; | |
const NEW_URL_SEARCH_TERMS = 'https://www.pixiv.net/artworks/'; | |
const NEW_URL_PATTERN = /^https:\/\/www\.pixiv\.net\/artworks\//; | |
const REPLACE_PATTERN = [/\/member_illust\.php\?mode=medium&illust_id=/, '/artworks/']; | |
const query = PlacesUtils.history.getNewQuery(); |
View CreateFrameByFrameAnimation.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.Events; | |
using UnityEditor; | |
using VRCSDK2; |
NewerOlder