This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (function () { | |
| const currentOrigin = window.location.origin; | |
| if (currentOrigin === "https://web.archive.org") { | |
| const currentPath = window.location.pathname; | |
| const currentPathEncoded = encodeURIComponent(currentPath); | |
| const parts = currentPath.split("/"); | |
| parts[2] = parts[2].replace("", "") + "/http://web.archive.org/screenshot"; | |
| window.location.href = currentOrigin + parts.join("/"); | |
| } | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ window.open('https://treo.sh/sitespeed/%27 + encodeURIComponent(window.location.host) + '?metrics=rtt-p75-75-275%2Cttfb-p75-800-1800%2Cfcp-p75-1800-3000%2Clcp-p75-2500-4000%2Cr-p75-200-500%2Ccls-p75-10-25%27)} )(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ window.open('https://treo.sh/sitespeed/%27 + encodeURIComponent(window.location.host) + '?metrics=rtt-p90-75-275%2Cttfb-p90-800-1800%2Cfcp-p90-1800-3000%2Clcp-p90-2500-4000%2Cr-p90-200-500%2Ccls-p90-10-25%27)} )(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- wp:group {"style":{"background":{"backgroundImage":{"url":"https://soakjeans.s4-tastewp.com/wp-content/uploads/2024/07/mesh-50.webp","id":9,"source":"file","title":"mesh-50"},"backgroundPosition":"50% 0"}},"layout":{"type":"constrained"}} --> | |
| <div class="wp-block-group"><!-- wp:paragraph --> | |
| <p>This group block should render with a mesh background by Simply static</p> | |
| <!-- /wp:paragraph --></div> | |
| <!-- /wp:group --> | |
| <!-- wp:cover {"url":"https://soakjeans.s4-tastewp.com/wp-content/uploads/2024/07/mesh-50.webp","id":9,"dimRatio":50,"customOverlayColor":"#d9bfd6","isDark":false,"layout":{"type":"constrained"}} --> | |
| <div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim" style="background-color:#d9bfd6"></span><img class="wp-block-cover__image-background wp-image-9" alt="" src="https://soakjeans.s4-tastewp.com/wp-content/uploads/2024/07/mesh-50.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"ce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // from https://github.com/harlan-zw/unlighthouse/issues/149 | |
| const DESKTOP_EMULATION_METRICS = { | |
| mobile: false, | |
| width: 1350, | |
| height: 940, | |
| deviceScaleFactor: 1, | |
| disabled: false, | |
| }; | |
| export default { | |
| extends: 'lighthouse:default', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| site: '#', | |
| lighthouseOptions: { | |
| onlyCategories: ['seo'] | |
| }, | |
| // puppeteerClusterOptions: { | |
| // // only run 2 worker at a time | |
| // maxConcurrency: 2 | |
| // }, | |
| scanner: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- place in your footer.php to simulate the crisp chat loading // z-index: 1000000; to appear on top of cookies--> | |
| <p id="fake-crisp-chat" style="margin-bottom: 0;"> | |
| <abbr title="Crisp Chat will load shortly, Click again to open it"><img id="fake-crisp-chat-img" src="/wp-content/uploads/2023/07/fake_crisp_chat.png" alt="Fake chat" fetchpriority="high"></abbr> | |
| </p> | |
| <style> | |
| #fake-crisp-chat { | |
| position: fixed; | |
| bottom: 1.3em; | |
| right: 1em; | |
| z-index: 1000000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| site: '#', | |
| lighthouseOptions: { | |
| onlyCategories: ['performance'] | |
| }, | |
| puppeteerClusterOptions: { | |
| // only run 2 worker at a time | |
| maxConcurrency: 2 | |
| }, | |
| scanner: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| define( 'PLUGIN_NAME', 'Delete Old Media' ); | |
| define( 'PLUGIN_VERSION', '1.0' ); | |
| define( 'PLUGIN_FILE', __FILE__ ); | |
| // Define the plugin settings | |
| $settings = array( | |
| 'delete_old_media_after' => 365, // The number of days to keep images before deleting them | |
| 'log_deleted_media' => true, // Whether to log the full URL of all deleted media files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0412dda9dceab1ede1dbe8a010aa80b16de0ea8ee6093012d5a3c46c01f78e8feb5b2119240070eb31689a82f75660a1149193b94bdb4d3c07231ea3c4538c4d23;romanornr |