2017-12-11 10:03:03 +00:00
|
|
|
<!DOCTYPE html>
|
2017-03-23 03:41:50 +00:00
|
|
|
<html id="stylus">
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-02-28 23:57:03 +00:00
|
|
|
<head>
|
2017-11-25 13:24:07 +00:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2017-12-04 16:14:04 +00:00
|
|
|
<link rel="stylesheet" href="global.css">
|
2015-07-19 15:27:19 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="style">
|
|
|
|
<div class="entry">
|
2019-03-03 22:54:37 +00:00
|
|
|
<div class="entry-content">
|
|
|
|
<div class="main-controls">
|
|
|
|
<label class="style-name">
|
2021-01-15 10:16:14 +00:00
|
|
|
<div class="checkmate">
|
|
|
|
<input class="checker" type="checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</div>
|
2019-03-03 22:54:37 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="actions">
|
2021-02-27 17:42:49 +00:00
|
|
|
<button class="configure fake" i18n-title="configureStyle">
|
2019-03-03 22:54:37 +00:00
|
|
|
<svg class="svg-icon config"><use xlink:href="#svg-icon-config"></use></svg>
|
2021-02-27 17:42:49 +00:00
|
|
|
</button>
|
|
|
|
<button class="style-edit-link fake" i18n-title="editStyleLabel">
|
2019-03-03 22:54:37 +00:00
|
|
|
<svg class="svg-icon edit" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/>
|
|
|
|
</svg>
|
2021-02-27 17:42:49 +00:00
|
|
|
</button>
|
|
|
|
<button class="menu-button fake" i18n-title="popupMenuButtonTooltip">
|
2019-03-03 22:54:37 +00:00
|
|
|
<svg class="svg-icon menu-button-icon" viewBox="0 0 3 16">
|
|
|
|
<path fill-rule="evenodd" d="M0 2.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0zm0 5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0zM1.5 14a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
|
|
|
|
</svg>
|
2021-02-27 17:42:49 +00:00
|
|
|
</button>
|
2019-03-03 22:54:37 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
2020-11-23 09:09:30 +00:00
|
|
|
<div class="menu">
|
2019-06-20 19:37:40 +00:00
|
|
|
<div class="menu-items-wrapper">
|
|
|
|
<b class="menu-title"></b>
|
|
|
|
<label class="menu-item exclude-by-domain button">
|
|
|
|
<div class="menu-icon">
|
|
|
|
<div class="checkbox-container">
|
|
|
|
<input type="checkbox" class="exclude-by-domain-checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</div>
|
2019-03-03 22:54:37 +00:00
|
|
|
</div>
|
2019-06-20 19:37:40 +00:00
|
|
|
<span i18n-text="excludeStyleByDomainLabel"></span>
|
|
|
|
</label>
|
|
|
|
<label class="menu-item exclude-by-url button">
|
|
|
|
<div class="menu-icon">
|
|
|
|
<div class="checkbox-container">
|
|
|
|
<input type="checkbox" class="exclude-by-url-checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</div>
|
2019-03-03 22:54:37 +00:00
|
|
|
</div>
|
2019-06-20 19:37:40 +00:00
|
|
|
<span i18n-text="excludeStyleByUrlLabel"></span>
|
|
|
|
</label>
|
|
|
|
<div class="menu-buttons-wrapper">
|
|
|
|
<button class="delete" i18n-text="deleteStyleLabel"></button>
|
|
|
|
<button class="menu-close" i18n-text="confirmClose"></button>
|
2019-03-03 22:54:37 +00:00
|
|
|
</div>
|
2019-06-20 19:37:40 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="writeStyle">
|
|
|
|
<a class="write-style-link"></a>
|
|
|
|
</template>
|
2017-03-21 01:32:38 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="noStyles">
|
2017-12-12 02:21:06 +00:00
|
|
|
<div id="no-styles" i18n-text="noStylesForSite"></div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</template>
|
2017-03-25 03:04:24 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemIndicator">
|
|
|
|
<div class="regexp-problem-indicator" i18n-title="styleRegexpProblemTooltip"></div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemExplanation">
|
|
|
|
<div id="regexp-explanation">
|
|
|
|
<div id="regexp-partial" i18n-html="styleRegexpPartialExplanation"></div>
|
|
|
|
<div id="regexp-invalid" i18n-text="styleRegexpInvalidExplanation"></div>
|
|
|
|
<button i18n-text="confirmOK"></button>
|
|
|
|
</div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
<template data-id="unavailableInfo">
|
|
|
|
<div class="blocked-info">
|
|
|
|
<label i18n-text="stylusUnavailableForURL"></label>
|
|
|
|
<p i18n-text="stylusUnavailableForURLdetails"></p>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template data-id="unreachableInfo">
|
|
|
|
<div class="blocked-info">
|
2019-11-18 03:23:12 +00:00
|
|
|
<div class="copy-message" i18n-text="copied"></div>
|
2017-08-27 09:56:09 +00:00
|
|
|
<label i18n-text="unreachableContentScript"></label>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2017-12-09 21:03:17 +00:00
|
|
|
<template data-id="searchResult">
|
|
|
|
<div class="search-result">
|
2017-12-10 09:00:40 +00:00
|
|
|
<a class="search-result-title"><span></span></a>
|
2017-12-09 21:03:17 +00:00
|
|
|
<div class="search-result-info">
|
2017-12-11 04:35:23 +00:00
|
|
|
<img class="search-result-screenshot" i18n-title="installButton">
|
2017-12-19 02:30:40 +00:00
|
|
|
<div class="search-result-status"></div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<div class="search-result-actions">
|
|
|
|
<button class="search-result-install hidden" i18n-text="installButton"></button>
|
2017-12-09 21:03:17 +00:00
|
|
|
<button class="search-result-uninstall hidden" i18n-text="deleteStyleLabel"></button>
|
2020-10-04 05:30:02 +00:00
|
|
|
<button class="search-result-customize hidden" i18n-text="configureStyle"></button>
|
2017-12-09 21:03:17 +00:00
|
|
|
</div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<dl class="search-result-meta">
|
|
|
|
<div data-type="author">
|
|
|
|
<dt i18n-text="author"></dt>
|
|
|
|
<dd><a target="_blank" i18n-title="author"></a></dd>
|
2017-12-09 21:03:17 +00:00
|
|
|
</div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<div data-type="rating">
|
|
|
|
<dt i18n-text="searchResultRating"></dt>
|
|
|
|
<dd i18n-title="searchResultRating"></dd>
|
2017-12-10 01:03:04 +00:00
|
|
|
</div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<div data-type="updated">
|
|
|
|
<dt i18n-text="searchResultUpdated"></dt>
|
|
|
|
<dd i18n-title="searchResultUpdated"><time></time></dd>
|
|
|
|
</div>
|
|
|
|
<div data-type="weekly">
|
|
|
|
<dt i18n-text="searchResultWeeklyCount"></dt>
|
|
|
|
<dd i18n-title="searchResultWeeklyCount"></dd>
|
|
|
|
</div>
|
|
|
|
<div data-type="total">
|
|
|
|
<dt i18n-text="searchResultInstallCount"></dt>
|
|
|
|
<dd i18n-title="searchResultInstallCount"></dd>
|
|
|
|
</div>
|
|
|
|
</dl>
|
|
|
|
<div class="search-result-description"></div>
|
2017-12-09 21:03:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2017-12-11 02:20:59 +00:00
|
|
|
<template data-id="searchNav">
|
|
|
|
<div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<button data-type="prev" i18n-title="paginationPrevious" disabled>◄</button>
|
2017-12-11 02:20:59 +00:00
|
|
|
<label>
|
2017-12-11 10:03:03 +00:00
|
|
|
<span data-type="page" i18n-title="paginationCurrent">-</span>
|
2017-12-11 02:20:59 +00:00
|
|
|
/
|
2017-12-13 06:34:51 +00:00
|
|
|
<span data-type="total" i18n-title="paginationEstimated">-</span>
|
2017-12-11 02:20:59 +00:00
|
|
|
</label>
|
2017-12-11 10:03:03 +00:00
|
|
|
<button data-type="next" i18n-title="paginationNext" disabled>►</button>
|
2017-12-11 02:20:59 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2017-12-09 21:03:17 +00:00
|
|
|
<template data-id="emptySearchResult">
|
|
|
|
<div class="search-result-empty"></div>
|
|
|
|
</template>
|
|
|
|
|
2020-11-23 12:45:00 +00:00
|
|
|
<template data-id="searchResultNotMatching">
|
|
|
|
<p class="not-matching-explainer"
|
|
|
|
i18n-text="searchResultNotMatching"
|
|
|
|
i18n-title="searchResultNotMatchingNote"></p>
|
|
|
|
</template>
|
|
|
|
|
2018-11-30 01:35:21 +00:00
|
|
|
<script src="js/polyfill.js"></script>
|
2020-11-22 19:41:36 +00:00
|
|
|
<script src="js/msg.js"></script>
|
2021-01-01 14:27:58 +00:00
|
|
|
<script src="js/toolbox.js"></script>
|
2020-11-22 19:41:36 +00:00
|
|
|
|
2021-01-01 14:27:58 +00:00
|
|
|
<script src="popup/preinit.js"></script>
|
|
|
|
|
|
|
|
<script src="js/prefs.js"></script>
|
2020-11-22 19:41:36 +00:00
|
|
|
<script src="js/dom.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="js/localization.js"></script>
|
2021-01-01 14:27:58 +00:00
|
|
|
|
2019-03-10 02:58:17 +00:00
|
|
|
<script src="content/style-injector.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="content/apply.js"></script>
|
2017-12-05 21:14:21 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="popup/popup.css">
|
2017-02-28 23:57:03 +00:00
|
|
|
</head>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-03-05 14:40:48 +00:00
|
|
|
<body id="stylus-popup">
|
2017-04-01 04:37:25 +00:00
|
|
|
|
|
|
|
<div id="confirm">
|
|
|
|
<div>
|
|
|
|
<b>Style's Name</b>
|
|
|
|
<span i18n-text="deleteStyleConfirm"></span>
|
|
|
|
<div>
|
|
|
|
<button i18n-text="confirmDelete" data-cmd="ok"></button>
|
|
|
|
<button i18n-text="confirmCancel" data-cmd="cancel"></button>
|
|
|
|
</div>
|
2017-03-13 19:26:43 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
|
2017-12-12 14:04:58 +00:00
|
|
|
<div id="installed">
|
|
|
|
<aside id="hotkey-info" i18n-title="popupHotkeysTooltip"></aside>
|
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
|
|
|
|
<div class="actions">
|
|
|
|
<div id="disable-all-wrapper">
|
|
|
|
<div class="main-controls">
|
2017-12-03 23:40:22 +00:00
|
|
|
<label id="disableAll-label" i18n-text="disableAllStyles">
|
|
|
|
<input id="disableAll" type="checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</label>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="main-controls">
|
|
|
|
<div id="find-styles">
|
2020-11-05 19:45:22 +00:00
|
|
|
<a id="find-styles-link" i18n-text="findStyles" i18n-title="findStylesForSite"
|
|
|
|
href="https://to.be.replaced.on.click/" target="_blank"></a>
|
2017-12-09 21:03:17 +00:00
|
|
|
<span id="find-styles-inline-group">
|
|
|
|
<label i18n-title="findStylesInlineTooltip">
|
2017-12-10 01:03:04 +00:00
|
|
|
<input id="popup.findStylesInline" class="checker" type="checkbox">
|
2017-12-10 09:00:40 +00:00
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
2017-12-09 21:03:17 +00:00
|
|
|
<span i18n-text="findStylesInline"></span>
|
|
|
|
</label>
|
|
|
|
</span>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
<div id="write-style">
|
2021-02-27 17:42:49 +00:00
|
|
|
<button id="write-for-frames" title="<IFRAME>..." class="fake" hidden></button>
|
2017-04-01 04:37:25 +00:00
|
|
|
<span id="write-style-for" i18n-text="writeStyleFor"></span>
|
|
|
|
</div>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-12-09 21:03:17 +00:00
|
|
|
|
2017-03-06 13:54:56 +00:00
|
|
|
<!-- Actions -->
|
|
|
|
<div id="popup-options">
|
2017-08-18 11:47:23 +00:00
|
|
|
<button id="popup-manage-button" i18n-text="openManage"
|
2017-08-22 16:29:26 +00:00
|
|
|
data-href="manage.html" i18n-title="popupManageTooltip"></button>
|
2020-02-02 04:36:54 +00:00
|
|
|
<button id="popup-options-button" i18n-text="openOptions"></button>
|
2018-07-02 15:28:38 +00:00
|
|
|
<button id="popup-wiki-button"
|
|
|
|
i18n-text="linkStylusWiki"
|
|
|
|
i18n-title="linkGetHelp"
|
|
|
|
data-href="https://github.com/openstyles/stylus/wiki"></button>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-12-10 01:03:04 +00:00
|
|
|
</div>
|
2017-12-09 21:03:17 +00:00
|
|
|
|
2017-12-11 19:26:33 +00:00
|
|
|
<div id="search-results-error" class="hidden"></div>
|
2017-12-10 01:03:04 +00:00
|
|
|
<div id="search-results" class="hidden">
|
2017-12-11 10:03:03 +00:00
|
|
|
<div class="search-results-nav" data-type="top"></div>
|
2020-10-04 05:30:02 +00:00
|
|
|
<div id="search-params">
|
|
|
|
<input id="search-query" type="search" i18n-placeholder="search"
|
|
|
|
i18n-title="searchStyleQueryHint">
|
|
|
|
<div class="select-resizer">
|
|
|
|
<select id="search-order" i18n-title="sortStylesHelpTitle">
|
|
|
|
<option value="n" i18n-text="genericTitle">
|
|
|
|
<option value="u" i18n-text="searchResultUpdated">
|
|
|
|
<option value="t" i18n-text="searchResultInstallCount">
|
|
|
|
<option value="w" i18n-text="searchResultWeeklyCount">
|
|
|
|
<option value="r" i18n-text="searchResultRating">
|
|
|
|
</select>
|
|
|
|
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
|
|
|
</div>
|
2020-10-10 11:25:43 +00:00
|
|
|
<label>
|
|
|
|
<span class="checkbox-container">
|
|
|
|
<input id="search-globals" type="checkbox" checked>
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</span>
|
|
|
|
<span i18n-text="searchGlobalStyles"></span>
|
|
|
|
</label>
|
2020-10-04 05:30:02 +00:00
|
|
|
</div>
|
2017-12-10 01:03:04 +00:00
|
|
|
<div id="search-results-list"></div>
|
2017-12-11 10:03:03 +00:00
|
|
|
<div class="search-results-nav" data-type="bottom"></div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
2017-12-03 23:40:22 +00:00
|
|
|
|
2021-01-01 14:27:58 +00:00
|
|
|
<!-- Here we can use the above elements before DOMContentLoaded -->
|
|
|
|
<script src="popup/events.js"></script>
|
|
|
|
<script src="popup/popup.js"></script>
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" style="display: none !important;">
|
|
|
|
<symbol id="svg-icon-checked" viewBox="0 0 1000 1000">
|
|
|
|
<path fill-rule="evenodd" d="M983.2,184.3L853,69.8c-4-3.5-9.3-5.3-14.5-5c-5.3,0.4-10.3,2.8-13.8,6.8L352.3,609.2L184.4,386.9c-3.2-4.2-8-7-13.2-7.8c-5.3-0.8-10.6,0.6-14.9,3.9L18,487.5c-8.8,6.7-10.6,19.3-3.9,28.1L325,927.2c3.6,4.8,9.3,7.7,15.3,8c0.2,0,0.5,0,0.7,0c5.8,0,11.3-2.5,15.1-6.8L985,212.6C992.3,204.3,991.5,191.6,983.2,184.3z"/>
|
|
|
|
</symbol>
|
2017-12-06 21:11:30 +00:00
|
|
|
|
|
|
|
<symbol id="svg-icon-select-arrow" viewBox="0 0 1792 1792">
|
|
|
|
<path fill-rule="evenodd" d="M1408 704q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z"/>
|
|
|
|
</symbol>
|
|
|
|
|
2021-02-10 09:11:52 +00:00
|
|
|
<symbol id="svg-icon-config" viewBox="0 0 16 16">
|
|
|
|
<path d="M13.3,12.8l1.5-2.6l-2.2-1.5c0-0.2,0.1-0.5,0.1-0.7c0-0.2,0-0.5-0.1-0.7l2.2-1.5l-1.5-2.6l-2.4,1.2 c-0.4-0.3-0.8-0.5-1.2-0.7L9.5,1h-3L6.3,3.7C5.9,3.8,5.5,4.1,5.1,4.4L2.7,3.2L1.2,5.8l2.2,1.5c0,0.2-0.1,0.5-0.1,0.7 c0,0.2,0,0.5,0.1,0.7l-2.2,1.5l1.5,2.6l2.4-1.2c0.4,0.3,0.8,0.5,1.2,0.7L6.5,15h3l0.2-2.7c0.4-0.2,0.8-0.4,1.2-0.7L13.3,12.8z M8,10.3c-1.3,0-2.3-1-2.3-2.3c0-1.3,1-2.3,2.3-2.3c1.3,0,2.3,1,2.3,2.3C10.3,9.3,9.3,10.3,8,10.3z"/>
|
2017-12-06 21:11:30 +00:00
|
|
|
</symbol>
|
|
|
|
|
2019-03-03 22:54:37 +00:00
|
|
|
<symbol id="svg-icon-config-uso" viewBox="0 0 20 20">
|
|
|
|
<path d="M4,4h5v2H6v8h8v-3h2v5H4V4z M11,3h6v6l-2-2l-4,4L9,9l4-4L11,3z"/>
|
2017-12-06 21:11:30 +00:00
|
|
|
</symbol>
|
2017-12-10 01:03:04 +00:00
|
|
|
|
|
|
|
<symbol id="svg-icon-help" viewBox="0 0 14 16">
|
|
|
|
<title i18n-text="helpAlt"></title>
|
|
|
|
<path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path>
|
|
|
|
</symbol>
|
2017-12-03 23:40:22 +00:00
|
|
|
</svg>
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
</body>
|
2017-03-06 13:54:56 +00:00
|
|
|
</html>
|