├── .github
├── FUNDING.yml
└── workflows
│ └── codeql-analysis.yml
├── 13ft.png
├── favicon.ico
├── index.js
├── index.css
├── README.md
├── LICENSE
└── index.html
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: SomeAspy
2 |
--------------------------------------------------------------------------------
/13ft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SomeAspy/13ft/HEAD/13ft.png
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SomeAspy/13ft/HEAD/favicon.ico
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022 Aiden Baker
2 | //
3 | // This software is released under the MIT License.
4 | // https://opensource.org/licenses/MIT
5 | 'use strict';
6 | window.onload=init;
7 | function init(){
8 | document.getElementById("textBox").addEventListener('submit',function(event){
9 | event.preventDefault();
10 | window.location.replace(document.getElementById("url").value.split('.html')[0]+'.html#:~:text=');
11 | });
12 | }
--------------------------------------------------------------------------------
/index.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2022 Aiden Baker
3 | *
4 | * This software is released under the MIT License.
5 | * https://opensource.org/licenses/MIT
6 | */
7 | body{
8 | background-color: black;
9 | }
10 | .title{
11 | color: white;
12 | font-size: 100px;
13 | font-family: 'Roboto', sans-serif;
14 | text-align: center;
15 | margin-top: 10%;
16 | }
17 | .textBox{
18 | width: 50%;
19 | margin: auto;
20 | margin-top: 10%;
21 | text-align: center;
22 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 13ft
2 | I decided to make this after seeing https://12ft.io could not work on the New York Times.
3 |
4 | 12ft.io is a website that uses google's cache to bypass paywalls for news websites. This is possible because the websites do not paywall google's indexing bot to allow their content to appear in search results. However, when the user navigates to the website, the content will be paywalled.
5 |
6 | I noticed using Google's term highlighting system, the page will not be paywalled.
7 |
8 | This is done by passing the highlighting stuff into the URL, but not actually selecting any text.
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Aiden
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |