Comments (8)
I use PageExtender.app for Safari on macOS which allows user-defined JS and CSS per domain. There are other similar solutions for other browsers and platforms.
So I create a file: github-wiki-see.page.js
Contents:
if (document.getElementById('header_button'))
document.querySelector(".visit_url_button").click();
That's it!
The code will run only on pages from the domain github-wiki-see.page
Now when I land on a see.page the visit button is automatically clicked for me. Not as good as a proper HTTP redirect but good enough for me.
from github-wiki-see-rs.
Hmm, I think I might make a bit of a contract to provide some elements via ID to click.
from github-wiki-see-rs.
Ah sorry this is a WONTFIX
. Or rather if it was implemented, it would risk getting the content unindexed or penalized.
I don't do this because if a search engine crawler visits such a link and gets automatically redirected, it won't index the content. Search engines crawlers will see the content at the link as a redirect, and then just ignore the content at the link and then not index it. In fact, the search engines crawlers will actually land on the original GitHub Wiki page and sees that it's unindexable, making the whole crawl pointless.
I also do not selectively try to redirect only search engines crawlers and not users. That would be cloaking and it might violate the guidelines. I'm sure that large search engines "secret shopper" the links to check for this automatically. I don't want to risk any penalizing of the content so I err on not doing this approach either. It's probably debatable if the current approach is cloaking "because it provides our users with different results than they expected" but as we all know, some of the search engines are uncaring inhuman organizations and I prefer to err on the side of pleasing the dumb, human-made computers by having a dumb interstitial for all, robots and humans.
The only wikis/pages with this behavior are the decommissioned wikis that GitHub allows direct indexing of. I actually want this service to fall off search engines for those Wikis and I have the service configured to automatically redirect. Because search engines crawlers will be automatically redirected to GitHub's content and GitHub does allow that content to be indexed on GitHub.com, the content is not at risk of being unindexed.
from github-wiki-see-rs.
In place of this, I do try the following:
- Make the buttons and URL to get to the original GitHub page as obvious and easy to tap or click as possible.
- Also make said buttons and URL use
window.replace()
instead of a plain anchor link to make the service's content page disappear in history if the user goes to GitHub. When they press back or look in their history from GitHub, the service's content page won't be there contaminating it and will go back to their search engine result page or however they got to the service's content page.
from github-wiki-see-rs.
Actually, I think I might even back out of the window.replace thing. Looking in Google's search console, that might be tripping Google's redirect nose though not as strongly or consistently.
from github-wiki-see-rs.
You can see a fight I'm having like in #137.
from github-wiki-see-rs.
no worries, i will implement the redirect myself using a browser extension in my setup.
feel free to close
from github-wiki-see-rs.
If you do a write up on it, I would love to link to it. Keep me posted!
from github-wiki-see-rs.
Related Issues (20)
- You are first result in Google HOT 1
- Monitor https://github.com/keirf/flashfloppy/wiki and see why it's out of survey. HOT 1
- Just wanted to drop by and give my thanks for this tool HOT 1
- Time for another scan of GitHub for indexed Wikis (April 2022) HOT 1
- Additionally use Cloudflare Workers to check if GitHub permits indexing before loading the proxied page HOT 4
- Remove per-page Sitemaps in favor of per-wiki sitemaps with `wiki_index` route HOT 1
- Allow cloudflare workers to rewrite a last updated space HOT 1
- Monitor and Blacklist Shellcheck Wiki
- Change 308 permanent redirects to 301
- Add Last Modified to the HTML from the redirect checker HOT 1
- Update Touched Sitemap List
- Websites Hosting HOT 1
- Detect Renamed/Moved Repositories and act accordingly
- "View Page On GitHub" button is too big and flashy, or looks too much like a logo, triggering banner blindness HOT 10
- Add a social graph image that says "Explanation on Front Page"
- Wikis that are unindexable and uneditable may not expose a raw URL HOT 1
- wiki index and debug sitemaps are broken
- Anchor links not working
- Remove anchor links from sitemap and wiki_index path
- Broken 520 for some reason HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-wiki-see-rs.