Skip to content

Instantly share code, notes, and snippets.

<h2>target="_blank"なし</h2>
<a href="javascript:alert(document.domain)">なし(javascript:)</a>
<a href="data:text/html,<script>alert(document.domain)</script>">>なし(data:)</a>
<br/>
<h2>target="_blank"あり</h2>
<a href="javascript:alert(document.domain)" target="_blank">あり(javascript:)</a>
<a href="data:text/html,<script>alert(document.domain)</script>" target="_blank">あり(data:)</a>
<h2>target="test"</h2>
<a href="javascript:alert(document.domain)" target="test">あり(javascript:)</a>
<a href="data:text/html,<script>alert(document.domain)</script>" target="test">あり(data:)</a>
function peco_select_ghq
set selected_repository (ghq list -p | peco --query "$LBUFFER")
if [ -n "$selected_repository" ]
cd $selected_repository
echo " $selected_repository "
commandline -f repaint
end
end
function peco_select_ghq_online
using MicroBatchFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExplorerUtils
{
class Program
status key command
Composition Backspace Backspace
Conversion Backspace Cancel
Precomposition Backspace Revert
Composition Ctrl a MoveCursorToBeginning
Conversion Ctrl a SegmentFocusFirst
Composition Ctrl Backspace Backspace
Conversion Ctrl Backspace Cancel
Precomposition Ctrl Backspace Undo
Composition Ctrl d MoveCursorRight
@KageShiron
KageShiron / chocolatey.css
Last active February 14, 2019 05:43
My Stylus File
/* Chocolatey Fix*/
body{
font-family:sans-serif;
}
.message{
font-size:inherit;
color:black;
}
@KageShiron
KageShiron / css.kwd
Created December 25, 2018 06:30
サクラエディタ強調キーワード
// 3文字以上のみを抽出
-moz-appearance
-moz-binding
-moz-border-bottom-colors
-moz-border-left-colors
-moz-border-right-colors
-moz-border-top-colors
-moz-context-properties
-moz-float-edge
@echo on
: ---- arguments ---- :
: "Win32" or "x64"
set PLATFORM=%1
echo PLATFORM=%PLATFORM%
: "Debug" or "Release"
set CONFIGURATION=%2
echo CONFIGURATION=%CONFIGURATION%